Skip to content

PawelGozdz/test-app-1

Repository files navigation

Start

docker-compose up

Issues

In case of any issues, run this:

docker-compose down -v && docker-compose build --no-cache && docker-compose up

If you run docker-compose down -v folder volumes needs to be deleted manually like so sudo rm -fR ./volumes

Architecture

alt text

Endpoints

Users

  • GET /api/v1/users
  • POST /api/v1/users
  • PATCH /api/v1/users/:id
  • DELETE /api/v1/users:id
  • GET /api/v1/users/health

Notifications

  • GET /api/v1/notifications/health

Testing

Unit tests can be ran like so (you can get error if you have old version of node locally installed. To fix it, run node 20+):

npm run test

About

Playing with microservices

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages