Skip to content

AngelHack-APCS/hackhcmc_backend

Repository files navigation

AngelHack Hackhcmc - Team AIO_APCS1 Backend Repo

Introduction

This repository contains the backend code for our hackhcmc 2024 project.

Link to components

Frontend

You can access our frontend server here

Database

You can access our database server here

AI

You can access our AI service here

Presequities

Before running the application, ensure that you have set up the database. Follow the instructions provided here to install and configure the database.

How to run with npm

Installation

$ npm install

Set up Prisma

$ 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

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Contributors:

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published