Skip to content

CineCare/CineHub-backend

Repository files navigation

Nest Logo

NestJS backend for cineHub

Description

The backend API for cineHub

Installation

  • Have node and npm installed
  • Have a mySQL server installed and running, with a database nammed "cinehub"
  • Create a .env file, editing this example :
DATABASE_URL="mysql://db_user:db_password@db_host:db_port/cinehub"
DATABASE_PROVIDER="mysql"

db_user & db_password : the user and password you created during or after mysql server intallation db_host & db_port : host and port of the mySQL server ( default: localhost:3306 )

  • run in terminal :
$ npm install

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

API Documentation

Can be found at /api

About

Backend nestJS app for CineHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published