This repository contains the backend code for our hackhcmc 2024 project.
You can access our frontend server here
You can access our database server here
You can access our AI service here
Before running the application, ensure that you have set up the database. Follow the instructions provided here to install and configure the database.
$ npm install
$ npx prisma init
Then, go to the .env
to config the DATABASE_URL
DATABASE_URL="postgresql://postgres:mysecretpassword@localhost:5432/mydatabase"
$ npx prisma db pull
$ npx prisma generate
# 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 MIT licensed.