gsainfoteam / gistalk-be

Gistalk의 backend repository입니다.
https://api.gistalk.gistory.me
GNU Affero General Public License v3.0
2 stars 0 forks source link
backend gistalk

Gistalk-Backend

Description

Backend repository for Gistalk project.

Deployments

production

https://api.gistalk.gistory.me

staging

https://api.stg.gistalk.gistory.me

Database Diagram

Entity Relation Diagram is made by dbdocs
It is available here

Installation

# install all package
$ npm install

Setting prisma client

Since this application uses the prisma client, to run this application, prisma client must be generated before running application.

# generate prisma client
$ npx prisma generate

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

# production mode with database change
$ npm run start:deploy 

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov