Starting point of a new api in order to achieve RAD (rapid application development)
npm install
rm -rf .git
git init
git remote add origin <repo_url>
- Renamed all occurence of
starter-api-ts
in code (README and package.json)
npm run dev
Application will be running on: http://localhost:4000
Start the application in a particular environment
npm run start:<env>
Start the application locally using specific env params (ex: .env.production and config/production.js)
npm run build
Build application using typescript
npm run lint
npm run test
All Tests use Jest framework. tests are in *.test.js
files
make release tag=x.y.z
The final step. Build and push a tagged docker image
Every docker related command are in the makefile
file.
make help