Skip to content

danghieu/microservice_nodejs

Repository files navigation

alt text

REQUIRED:

  • NodeJS
  • PostgreSQL
  • Database: movie_microservice, genre_microservice

Install Node Package

npm install

Install CLI globally with

npm install -g sequelize-cli

  1. MIGRATION DATABASE

Migration database movie service

cd movie_service/database

sequelize db:migrate

Migration database genre service

cd genre_service/database

sequelize db:migrate

  1. RUN APP
  • MOVIE SERVICE

npm run start_movie_service

  • GENRE SERVICE

npm run start_genre_service

  • UI SITE

npm run start_ui_site

About

Sample microservices with nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published