This project developed by Nest.js framework based on microservice architecture
you can find other services here
This repsitory is our base service. Used for manage microservices and authentication.
signup, signin, signout, forgot-password, reset-password, signin with google and Two-factor authentication
Other microservices include:
-
Music-Service: artists can add their albums and tracks
And the music file is uploaded to google-storage -
Film-Service: directors can add their movies
And the cover of the movie is uploaded to google-storage -
Elasticsearch-Service: In this project, the CQRS pattern is used
Users can search and find the movie and music they want from elasticsearch
If the music is not in our database, don't worry
We have allocated a route to receive data from external APIs (Spotify)
you can access other services from this link.
# run with Docker
$ docker build -t nest-auth .
# docker compose
$ docker-compose up -d
# install with yarn
$ yarn
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# swagger
http://localhost:PORT/swagger
# e2e tests
$ yarn pretest:e2e
$ yarn test:e2e
- Author - Mehdi Ghorbani
- Telegram - Mehdi_qor
- Email - [email protected]