codeshock-create
v1.2.2
Published
Create app with basic templates as per standard structure for Code Shock
Downloads
4
Maintainers
Readme
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 node
for default node, orcodeshock make node --variant <name>
npm install
ornpm i
npm run start:dev
Node default
- change env.sample to .env
- add mongo uri env and uncomment
connectDb
in 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