{"id":14970054,"url":"https://github.com/calvinqc/trivin","last_synced_at":"2025-10-26T11:31:23.251Z","repository":{"id":57380043,"uuid":"239682288","full_name":"calvinqc/trivin","owner":"calvinqc","description":"⚡️Setup your entire project quickly and easily with 1-line command ⚡️","archived":false,"fork":false,"pushed_at":"2020-05-22T16:27:12.000Z","size":292,"stargazers_count":61,"open_issues_count":3,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T18:53:48.970Z","etag":null,"topics":["axios","boostrap","expressjs","mern-template","mongodb","mongoose","nodejs","passport-jwt","react","react-redux","react-router","reactjs","redux-thunk"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calvinqc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-11T05:16:52.000Z","updated_at":"2023-10-31T10:21:00.000Z","dependencies_parsed_at":"2022-09-05T13:50:44.377Z","dependency_job_id":null,"html_url":"https://github.com/calvinqc/trivin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinqc%2Ftrivin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinqc%2Ftrivin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinqc%2Ftrivin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinqc%2Ftrivin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calvinqc","download_url":"https://codeload.github.com/calvinqc/trivin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238319442,"owners_count":19452337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","boostrap","expressjs","mern-template","mongodb","mongoose","nodejs","passport-jwt","react","react-redux","react-router","reactjs","redux-thunk"],"created_at":"2024-09-24T13:42:57.707Z","updated_at":"2025-10-26T11:31:17.858Z","avatar_url":"https://github.com/calvinqc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eTrivin made everything simple, fast, and clean\u003c/h2\u003e\n\u003ch3 align=\"center\"\u003eThe most well-structured open-source template to build a powerful and clean apps\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/calvinqc/trivin/pulls\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-green.svg\" alt=\"PRs Welcome\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.javascript.com/\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/languages/top/calvinqc/trivin\" alt=\"Top Language\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/trivin\" alt=\"Liscence\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/calvinqc/trivin/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dw/trivin\" alt=\"Download\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://www.npmjs.com/package/trivin\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/calvinqc/trivin?style=social\" alt=\"Stars\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n**[Trivin](https://calvinqc.github.io/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.\n\n# Getting Started\n\n## Installation\n\nInstall trivin with this one-line command\n\n```sh\nnpm i trivin -g\n```\n\n## Requirements\n\n- NodeJS \u003e= 10.x\n- NPM \u003e= 6.x\n\n# Quick Overview\n\n```sh\n$ trivin myapp -g -i\n\n? Please choose which project template to use\n❯ mern\n  node-passport-jwt\n  react\n  simple-node-server\n\n  ✔ Copy Project files\n  ✔ Initialize git\n  ✔ Install all dependencies. This could take around 1~2 minutes.\n\nInitialized M.E.R.N project with MongoDB Atlas/Google App Engine setup\nDONE Project ready\n```\n\n# Feature\n\n- Choose a template. Default template: MERN\n\n```\n$ trivin \u003capp-name\u003e \u003capp-template\u003e\n```\n\n- `-g`: git init for your project\n- `-i`: Install all dependencies for both React and Node folders\n- ESLint Airbnb Config + Prettier\n- Securely Authenticate/Authorize APIs with Passport-JWT\n- Works on macOS, Windows, and Linux.\n\n## Project\n\n- Include Redux Dev Tools Config (You need to install this extension on your browser)\n\n- **React** project is well-structured with Redux-thunk/React-router/Axios\n\n- Authenticate/authorize with Passport-jwt\n\n- Database: MongoDB is hosted on MongoDB Atlas\n\n- Mailing API for multiple purposes using Nodemailer and Google OAuth Client\n\n# Become a Trivin Contributor\n\n1. Fork the repo\n\n2. Create a folder with your **Template-name** and add all files to that folder\n\n3. Add your template name to **[Choices](https://github.com/calvinqc/trivin/blob/dee197123419e267193d90b9795a72f9ae909a27/src/)**.\n\n   - **IMPORTANT: The name should be the same**\n\n4. Practicing pushing to your branch and create a PR with Github CLI\n\n   - Check out how to use new Github CLI [here.](https://medium.com/better-programming/say-hello-to-the-new-github-clis-7e2612fb3918)\n\n5. Trivin team will review your code, and approve/request changes.\n\n# Upcoming Feature\n\n- Testing\n\n- README for each template\n\n- Deployment: Choices to deploy app with Google App Engine/Heroku\n\n# Help/Supports\n\n- Join Trivin's Slack Channel and ask any questions [here](trivin.slack.com)\n\n- If something doesn’t work, please [file an issue here](https://github.com/calvinqc/trivin/issues).\n\n# Learning\n\n### Node Setup with Passport-jwt Authorization\n\n- Medium **[Instruction](https://medium.com/swlh/perfect-structure-to-authenticate-authorize-api-with-node-js-and-passport-jwt-d529b1a618ba)**. Code found **[here](https://github.com/calvinqc/trivin/tree/master/templates/node-passport-jwt)**\n\n### React + Redux-thunk + Router Setup\n\n- Medium **[Instruction](https://medium.com/@calvinqc/i-built-a-m-e-r-n-codebase-in-an-hour-742acd71ed7e).** Code found **[here](https://github.com/calvinqc/trivin/tree/master/templates/mern/client)**\n\n### Very Simple Node.js setup\n\n- Medium **[Instruction](https://medium.com/swlh/a-complete-guide-build-a-scalable-3-tier-architecture-with-mern-stack-es6-ca129d7df805)**. Code found **[here](https://github.com/calvinqc/trivin/tree/master/templates/simple-node-server)**\n\n### Multi-purpose API\n\n- Medium **[Instruction](https://medium.com/@calvinqc/multi-purposes-mailing-api-using-nodemailer-gmail-google-oauth-28de49118d77)**\n\n# License\n\nThis project is open-sourced software licensed under the ISC License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinqc%2Ftrivin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalvinqc%2Ftrivin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinqc%2Ftrivin/lists"}