v1.0.0
- nodejs: https://nodejs.org/
- expressjs: https://expressjs.com/
- mysql: https://mysql.com/
- docker: https://www.docker.com/
- api: http://nodeapi.jnpl.me/
- api documentation: http://nodeapi.jnpl.me/documentation/
- Install typescript globally
npm install -g typescript
- Install npm dependencies by running
npm install
- Update the following configurations and database credentials on
{root}/node-app/src/config/*-config.json
- Build typescript by running
npm run build:development
- Get global config by running
npm run generate:config
- Generate documentation by running
npm run generate:docs
- Install database data migraion by running
npm run migrate
- Install database mock data by running
npm run seed
- run
npm start
it will listen to http://localhost:8383 with authorization Bearer
- create global models
npm run create:model -- <name of the model>
- create global seeders
npm run create:seed -- seed-<name of the seeder>
- start all test by running
npm run test
- start typescript linter
npm run lint
- build
docker-compose build
- install node
docker exec -ti node npm install
- install node
docker exec -ti node npm run generate:config
- install node
docker exec -ti node npm run generate:docs
- run
docker-compose up
- run
docker-compose start