Coder Social home page Coder Social logo

trivin's Introduction

Trivin made everything simple, fast, and clean

The most well-structured open-source template to build a powerful and clean apps

PRs Welcome Top Language Liscence Download Stars

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.

Getting Started

Installation

Install trivin with this one-line command

npm i trivin -g

Requirements

  • NodeJS >= 10.x
  • NPM >= 6.x

Quick Overview

$ 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

Feature

  • 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.

Project

  • 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

Become a Trivin Contributor

  1. Fork the repo

  2. Create a folder with your Template-name and add all files to that folder

  3. Add your template name to Choices.

    • IMPORTANT: The name should be the same
  4. Practicing pushing to your branch and create a PR with Github CLI

    • Check out how to use new Github CLI here.
  5. Trivin team will review your code, and approve/request changes.

Upcoming Feature

  • Testing

  • README for each template

  • Deployment: Choices to deploy app with Google App Engine/Heroku

Help/Supports

  • Join Trivin's Slack Channel and ask any questions here

  • If something doesn’t work, please file an issue here.

Learning

Node Setup with Passport-jwt Authorization

React + Redux-thunk + Router Setup

Very Simple Node.js setup

Multi-purpose API

License

This project is open-sourced software licensed under the ISC License. See the LICENSE file for more information.

trivin's People

Contributors

calvinqc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.