Service to get a list of provinces, cities, districts, villages and postal codes of Indonesia
- Node version >= v14
- PostgreSQL version >= 14
$ npm install
# After run the command above please make sure to change .env file
# To make sure migration files are on the dist folder
$ npm run build
$ npm run migration:run
$ npm run seed
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# Make sure to change DATABASE_HOST value on .env file to postgres
$ docker-compose up -d -V --build
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
API documented using swagger and can be accessed at path /docs