Trivin is a free and open-source project that bootstrap everything you need to deploy your full-stack application. It consists of clean and quality code, which is suggested by industry engineers.
Install trivin with this one-line command
npm i trivin -g
- NodeJS >= 10.x
- NPM >= 6.x
$ trivin myapp -g -i
? Please choose which project template to use
❯ mern
node-passport-jwt
react
simple-node-server
✔ Copy Project files
✔ Initialize git
✔ Install all dependencies. This could take around 1~2 minutes.
Initialized M.E.R.N project with MongoDB Atlas/Google App Engine setup
DONE Project ready
- Choose a template. Default template: MERN
$ trivin <app-name> <app-template>
-g
: git init for your project-i
: Install all dependencies for both React and Node folders- ESLint Airbnb Config + Prettier
- Securely Authenticate/Authorize APIs with Passport-JWT
- Works on macOS, Windows, and Linux.
-
Include Redux Dev Tools Config (You need to install this extension on your browser)
-
React project is well-structured with Redux-thunk/React-router/Axios
-
Authenticate/authorize with Passport-jwt
-
Database: MongoDB is hosted on MongoDB Atlas
-
Mailing API for multiple purposes using Nodemailer and Google OAuth Client
-
Fork the repo
-
Create a folder with your Template-name and add all files to that folder
-
Add your template name to Choices.
- IMPORTANT: The name should be the same
-
Practicing pushing to your branch and create a PR with Github CLI
- Check out how to use new Github CLI here.
-
Trivin team will review your code, and approve/request changes.
-
Testing
-
README for each template
-
Deployment: Choices to deploy app with Google App Engine/Heroku
-
Join Trivin's Slack Channel and ask any questions here
-
If something doesn’t work, please file an issue here.
- Medium Instruction. Code found here
- Medium Instruction. Code found here
- Medium Instruction. Code found here
- Medium Instruction
This project is open-sourced software licensed under the ISC License. See the LICENSE file for more information.