A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
npm install
Because my pc has many issues with port 9200, so I use the cloud as the alternative, and it does not correlate to any issues with the code. Also, we have to configure the env to run properly, the sample env is below:
PORT = 3000
ELASTICSEARCH_NODE=http://localhost:9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=ykbFCUMR615SFOpXVOb72kaq
ELASTICSEARCH_CLOUD_ID=Fcorp_evaluation_test:YXNpYS1zb3V0aGVhc3QxLmdjcC5lbGFzdGljLWNsb3VkLmNvbTo0NDMkYjIwYzcxMDk4MDI1NDc0MGIyNzgzODJkZjIyOTg4MWIkMzNjYjBmOGQzODU4NDUyOTg1ZDJkZGZlN2IxMWM5ZDE=
The documentation is available at http://localhost:3000/v1/api
I also create the workspace for testing the APIs on Postman, the link is below:
## Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.