The project has three microservices.
- User Service
- Authentication Service
- Payment Service
.
├── User Service (Nest.js)/
│ ├── src/
│ │ ├── common
│ │ ├── filters
│ │ ├── guards
│ │ ├── payment
│ │ ├── schemas
│ │ ├── users
│ │ └── wallets
│ ├── Dockerfile
│ ├── .env
│ └── package.json
├── Auth Service (Nest.js)/
│ ├── src/
│ │ ├── auth
│ │ ├── common
│ │ └── filters
│ ├── Dockerfile
│ ├── .env
│ └── package.json
├── Payment Service (Nest.js)/
│ ├── src/
│ │ ├── common
│ │ ├── filters
│ │ ├── guards
│ │ ├── payment
│ │ ├── schemas
│ │ └── wallets
│ ├── Dockerfile
│ ├── .env
│ └── package.json
├── .gitignore
├── docker-compose.yaml
├── package.json
└── README.md
All the services are using nest.js
so all dependencies are expected to be installed.
- Node.js
- Nest.js
- Typescript
- Mongo
- Docker
- RxJs
This service is responsible for managing users. The following endpoints are available
This service is responsible for authenticating registered users. It's used by both user
and payment
services.
It has the following routes.
The payment service is responsible for generating wallets and processing all forms of payments. The service has the following endpoints