mehdiqor / nest-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

This project developed by Nest.js framework based on microservice architecture

you can find other services here

Description

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:

  1. Music-Service: artists can add their albums and tracks
    And the music file is uploaded to google-storage

  2. Film-Service: directors can add their movies
    And the cover of the movie is uploaded to google-storage

  3. 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.

Installation and Running the app

# 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

Test

# e2e tests
$ yarn pretest:e2e
$ yarn test:e2e

Stay in touch

About


Languages

Language:TypeScript 99.0%Language:JavaScript 0.9%Language:Dockerfile 0.2%