A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
This is a discord bot with nestjs to provide a chat bot for discord. It provides endpoints to save bot's token and guild id and retrieve it from db(postgresql)
# In root project
$ npm install
Add next .env
config in root
# Database Configuration
DB_HOST= # The hostname of your database server
DB_PORT= # The port on which your database server is running
DB_USERNAME= # The username to connect to the database
DB_PASSWORD= # The password for the database user
DB_NAME= # The name of the database to connect to
OPENAI_API_KEY= # Your OpenAI API key
# In root project
$ npm run build
# In this sample
$ npm run start:dev
npm install