├── .eslintrc ├── .gitignore ├── .prettierrc ├── README.md ├── assets ├── gh3.png ├── trivin_demo.gif └── trivin_with_background.png ├── bin └── trivin ├── package.json ├── src ├── cli.js └── main.js └── templates ├── mern ├── client │ ├── .eslintrc │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.js │ │ ├── api │ │ └── login.api.js │ │ ├── components │ │ ├── Home.js │ │ ├── Landing.js │ │ └── Login.js │ │ ├── constants.js │ │ ├── index.js │ │ ├── pages │ │ ├── HomePage.js │ │ └── LoginPage.js │ │ ├── router │ │ ├── RouterComponent.js │ │ └── RoutesComponent.js │ │ ├── store │ │ ├── actions │ │ │ └── auth.action.js │ │ ├── reducers │ │ │ ├── index.js │ │ │ └── userReducer.js │ │ └── store.js │ │ └── utils.js └── server │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── app.js │ ├── app.yaml │ ├── controller │ ├── index.js │ ├── mailing.controller.js │ └── user.controller.js │ ├── database │ ├── models │ │ ├── index.js │ │ └── user.model.js │ └── schemas │ │ └── user.schema.js │ ├── package.json │ └── store │ ├── Mailing │ ├── index.js │ └── templates │ │ └── subscribe.ejs │ ├── config.js │ ├── constant.js │ ├── passport.js │ └── utils.js ├── node-passport-jwt ├── .babelrc ├── .gitignore ├── README.md ├── app.js ├── app.yaml ├── controller │ ├── index.js │ ├── mailing.controller.js │ └── user.controller.js ├── database │ ├── models │ │ ├── index.js │ │ └── user.model.js │ └── schemas │ │ └── user.schema.js ├── package.json └── store │ ├── Mailing │ ├── index.js │ └── templates │ │ └── subscribe.ejs │ ├── config.js │ ├── constant.js │ ├── passport.js │ └── utils.js ├── react ├── .gitignore ├── README.md ├── package.json ├── public │ ├── favicon.ico │ └── index.html └── src │ ├── App.js │ ├── api │ └── login.api.js │ ├── components │ ├── Home.js │ ├── Landing.js │ └── Login.js │ ├── constants.js │ ├── index.js │ ├── pages │ ├── HomePage.js │ └── LoginPage.js │ ├── router │ ├── RouterComponent.js │ └── RoutesComponent.js │ ├── store │ ├── actions │ │ └── auth.action.js │ ├── reducers │ │ ├── index.js │ │ └── userReducer.js │ └── store.js │ └── utils.js └── simple-node-server ├── app.js ├── controller ├── index.js └── user.controller.js ├── database ├── models │ ├── index.js │ └── user.model.js └── schemas │ └── user.schema.js └── package.json /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["airbnb", "plugin:prettier/recommended"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | node_modules/ 3 | 4 | .eslintrc 5 | .prettierrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/README.md -------------------------------------------------------------------------------- /assets/gh3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/assets/gh3.png -------------------------------------------------------------------------------- /assets/trivin_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/assets/trivin_demo.gif -------------------------------------------------------------------------------- /assets/trivin_with_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/assets/trivin_with_background.png -------------------------------------------------------------------------------- /bin/trivin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/bin/trivin -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/src/cli.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/src/main.js -------------------------------------------------------------------------------- /templates/mern/client/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/.eslintrc -------------------------------------------------------------------------------- /templates/mern/client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/.gitignore -------------------------------------------------------------------------------- /templates/mern/client/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/.prettierrc -------------------------------------------------------------------------------- /templates/mern/client/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/mern/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/package.json -------------------------------------------------------------------------------- /templates/mern/client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/public/favicon.ico -------------------------------------------------------------------------------- /templates/mern/client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/public/index.html -------------------------------------------------------------------------------- /templates/mern/client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/App.js -------------------------------------------------------------------------------- /templates/mern/client/src/api/login.api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/api/login.api.js -------------------------------------------------------------------------------- /templates/mern/client/src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/components/Home.js -------------------------------------------------------------------------------- /templates/mern/client/src/components/Landing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/components/Landing.js -------------------------------------------------------------------------------- /templates/mern/client/src/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/components/Login.js -------------------------------------------------------------------------------- /templates/mern/client/src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/constants.js -------------------------------------------------------------------------------- /templates/mern/client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/index.js -------------------------------------------------------------------------------- /templates/mern/client/src/pages/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/pages/HomePage.js -------------------------------------------------------------------------------- /templates/mern/client/src/pages/LoginPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/pages/LoginPage.js -------------------------------------------------------------------------------- /templates/mern/client/src/router/RouterComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/router/RouterComponent.js -------------------------------------------------------------------------------- /templates/mern/client/src/router/RoutesComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/router/RoutesComponent.js -------------------------------------------------------------------------------- /templates/mern/client/src/store/actions/auth.action.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/store/actions/auth.action.js -------------------------------------------------------------------------------- /templates/mern/client/src/store/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/store/reducers/index.js -------------------------------------------------------------------------------- /templates/mern/client/src/store/reducers/userReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/store/reducers/userReducer.js -------------------------------------------------------------------------------- /templates/mern/client/src/store/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/store/store.js -------------------------------------------------------------------------------- /templates/mern/client/src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/client/src/utils.js -------------------------------------------------------------------------------- /templates/mern/server/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env"] 3 | } 4 | -------------------------------------------------------------------------------- /templates/mern/server/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["airbnb", "plugin:prettier/recommended"] 3 | } 4 | -------------------------------------------------------------------------------- /templates/mern/server/.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | node_modules/ 3 | .env.sh -------------------------------------------------------------------------------- /templates/mern/server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/.prettierrc -------------------------------------------------------------------------------- /templates/mern/server/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/mern/server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/app.js -------------------------------------------------------------------------------- /templates/mern/server/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: nodejs 2 | env: flex 3 | -------------------------------------------------------------------------------- /templates/mern/server/controller/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/controller/index.js -------------------------------------------------------------------------------- /templates/mern/server/controller/mailing.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/controller/mailing.controller.js -------------------------------------------------------------------------------- /templates/mern/server/controller/user.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/controller/user.controller.js -------------------------------------------------------------------------------- /templates/mern/server/database/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/database/models/index.js -------------------------------------------------------------------------------- /templates/mern/server/database/models/user.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/database/models/user.model.js -------------------------------------------------------------------------------- /templates/mern/server/database/schemas/user.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/database/schemas/user.schema.js -------------------------------------------------------------------------------- /templates/mern/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/package.json -------------------------------------------------------------------------------- /templates/mern/server/store/Mailing/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/Mailing/index.js -------------------------------------------------------------------------------- /templates/mern/server/store/Mailing/templates/subscribe.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/Mailing/templates/subscribe.ejs -------------------------------------------------------------------------------- /templates/mern/server/store/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/config.js -------------------------------------------------------------------------------- /templates/mern/server/store/constant.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/constant.js -------------------------------------------------------------------------------- /templates/mern/server/store/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/passport.js -------------------------------------------------------------------------------- /templates/mern/server/store/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/mern/server/store/utils.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env"] 3 | } 4 | -------------------------------------------------------------------------------- /templates/node-passport-jwt/.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | node_modules/ 3 | .env.sh -------------------------------------------------------------------------------- /templates/node-passport-jwt/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/node-passport-jwt/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/app.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: nodejs 2 | env: flex 3 | -------------------------------------------------------------------------------- /templates/node-passport-jwt/controller/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/controller/index.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/controller/mailing.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/controller/mailing.controller.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/controller/user.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/controller/user.controller.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/database/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/database/models/index.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/database/models/user.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/database/models/user.model.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/database/schemas/user.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/database/schemas/user.schema.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/package.json -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/Mailing/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/Mailing/index.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/Mailing/templates/subscribe.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/Mailing/templates/subscribe.ejs -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/config.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/constant.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/constant.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/passport.js -------------------------------------------------------------------------------- /templates/node-passport-jwt/store/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/node-passport-jwt/store/utils.js -------------------------------------------------------------------------------- /templates/react/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/.gitignore -------------------------------------------------------------------------------- /templates/react/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/package.json -------------------------------------------------------------------------------- /templates/react/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/public/favicon.ico -------------------------------------------------------------------------------- /templates/react/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/public/index.html -------------------------------------------------------------------------------- /templates/react/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/App.js -------------------------------------------------------------------------------- /templates/react/src/api/login.api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/api/login.api.js -------------------------------------------------------------------------------- /templates/react/src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/components/Home.js -------------------------------------------------------------------------------- /templates/react/src/components/Landing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/components/Landing.js -------------------------------------------------------------------------------- /templates/react/src/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/components/Login.js -------------------------------------------------------------------------------- /templates/react/src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/constants.js -------------------------------------------------------------------------------- /templates/react/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/index.js -------------------------------------------------------------------------------- /templates/react/src/pages/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/pages/HomePage.js -------------------------------------------------------------------------------- /templates/react/src/pages/LoginPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/pages/LoginPage.js -------------------------------------------------------------------------------- /templates/react/src/router/RouterComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/router/RouterComponent.js -------------------------------------------------------------------------------- /templates/react/src/router/RoutesComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/router/RoutesComponent.js -------------------------------------------------------------------------------- /templates/react/src/store/actions/auth.action.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/store/actions/auth.action.js -------------------------------------------------------------------------------- /templates/react/src/store/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/store/reducers/index.js -------------------------------------------------------------------------------- /templates/react/src/store/reducers/userReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/store/reducers/userReducer.js -------------------------------------------------------------------------------- /templates/react/src/store/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/store/store.js -------------------------------------------------------------------------------- /templates/react/src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/react/src/utils.js -------------------------------------------------------------------------------- /templates/simple-node-server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/app.js -------------------------------------------------------------------------------- /templates/simple-node-server/controller/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/controller/index.js -------------------------------------------------------------------------------- /templates/simple-node-server/controller/user.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/controller/user.controller.js -------------------------------------------------------------------------------- /templates/simple-node-server/database/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/database/models/index.js -------------------------------------------------------------------------------- /templates/simple-node-server/database/models/user.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/database/models/user.model.js -------------------------------------------------------------------------------- /templates/simple-node-server/database/schemas/user.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/database/schemas/user.schema.js -------------------------------------------------------------------------------- /templates/simple-node-server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinqc/trivin/HEAD/templates/simple-node-server/package.json --------------------------------------------------------------------------------