1.2.2 • Published 4 years ago
codeshock-create v1.2.2
Code Shock Create App
Install globally using npm i -g codeshock-create
Template apps using the --variant <name> flag
Node
auth- Node, Express, JWT, Express-Validator, Google Auth, MVC, Mongo
default- Node, Express, Mongo, MVC
sendgrid- Node, Express, Mongo, SendGrid, Google Auth Library, MVC
- coming soon
React
- coming soon
Instructions
Once you have installed the global app:
- create a directory for your app
mkdir new-app - change directory
cd new-app codeshock make nodefor default node, orcodeshock make node --variant <name>npm installornpm inpm run start:dev
Node default
- change env.sample to .env
- add mongo uri env and uncomment
connectDbin server.js
About your global install
- check your global version
npm list -g --depth 0 - remove global install
sudo npm uninstall -g codeshock-create - check for outdated verison
npm outdated -g --depth 0 - update global version
npm update -g codeshock-create - update all global installs
npm update -g