Development
=> Staging
=> Production
- Clone
https://github.com/slice-it/server.git
into your local machine. - Do an
npm install
ornpm i
to install dependencies. npm run dev
to run.- Hit
localhost:6900
when the server is running and you should be greeted with a message. - Cheers ππ»πΊπ.
- Clone
https://github.com/slice-it/server.git
into your local machine. development
branch is the master branch. Make sure to branch off this branch.- Push changes to
development
branch, this will require a reviewer to approve your commit. - NEVER push or branch to and from
staging
andproduction
. - Cheers ππ»πΊπ.
- Kabob Case
- Example: example-index.js (If file is a class then: Example-index.js)
- index.js
- app.js
- routes
- controllers
- models
- middleware
- error-handlers
- utils
- data
- views