Skip to content

Backend part of a final project for Web Technologies and e-Services - 20221

Notifications You must be signed in to change notification settings

TienNg21/domitory-management-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • Install dependencies module
$ npm install
  • Config mysql database

    • Create database name. Ex: "group32db"
  • Config enviroment variables

    • Create a file name ".env"
    • Copy from .env.example to .env
    • Config DB_USERNAME, DB_PASSWORD, DB_NAME value

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

Migrate database

$ npm run migrateDB

Seed data

$ npm run seedDB

Drop database

$ npm run dropDB

About

Backend part of a final project for Web Technologies and e-Services - 20221

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published