Skip to content

hieuliemfe/esms-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESMS-Backend

Cleaning & seeding the data when new codes are merged:

0.5 Purging Docker before init:

  • In terminal, type: sudo docker-compose down && sudo docker rmi $(sudo docker images -q) && sudo docker volume rm $(sudo docker volume ls -q)

1. Insrc/index.js file:

  • Set the force value of db.sequelize.sync({force: false, logging: false }) to true.
  • Save changes.

2. Run the docker-compose file:

  • On the terminal, type: sudo docker-compose up --build.
  • Wait until all 3 services are up and running.

3. Seed the data:

  • Access localhost:4000/swagger by a browser.

4. Verify the seeded data:

  • Access localhost:8080 by a browser.
  • Input necesarry info and login.
  • Check the employee || role || emotion table to verify.

About

Back-end for ESMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages