- Node.js Node.js version
10
- Yarn for Package Manager Development mode.
- Nest.js as the framework.
- Redis for Backing Bull and Key-Value storage use version
5
.
- https://www.geeksforgeeks.org/difference-between-typescript-and-javascript/
- https://www.cheatography.com/gregfinzer/cheat-sheets/typescript/
The tslint.json
are helping our development code style to be the same
- https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
- https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
- https://marketplace.visualstudio.com/items?itemName=rbbit.typescript-hero
- https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
- https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer
- https://marketplace.visualstudio.com/items?itemName=stringham.move-ts
- https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight
- https://marketplace.visualstudio.com/items?itemName=develiteio.api-blueprint-viewer
Start an Android emulator or connect your phone by turning on Android Debugging feature, and then start the project
npm run start
We are using API Blueprint format for contracts, and serving them with Drakov server. You can run Drakov server directly by typing:
npm run drakov:start
First, you have to setup database needed for test by creating an empty database on your local PostgreSQL database called sicepat-tms-api-test
, and then you are ready for running the test files by typing the following command:
npm run test
Note: It is not recommended to set the database test to other than you local db server, test setup will drop database first and then seeding the emptied database
Verify your config files, make sure the configurations match the exact requirements for staging mode (e.g: endpoint url, etc), and then start build the APK:
npm run build
The build files will be ready inside dist
Verify your config files, make sure the configurations match the exact requirements for production mode (e.g: endpoint url, etc), and then start build the APK:
npm run build
The build files will be ready inside dist