A progressive Node.js framework for building efficient and scalable server-side applications.
This NodeJS/NestJS webserver that has the following: logging (using nest), documentation (using swagger), metrics reporting (using prom-client), and a route that can be used to fetch the metrics that were recorded!
Further, it has a route that calls openAI API, submits a prompt and returns the response from chatGPT.
What's really cool about this server is that most of it was written by chatGPT :)
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
The docs (swagger) should be available under: http://localhost:3000/docs
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
- Author - Nir Alfasi
- Website - https://alfasin.com
- Twitter - @niralfasi