https://github.com/sg-milad/micro-wallet
https://github.com/sg-milad/micro-wallet
kafka nestjs rest-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sg-milad/micro-wallet
- Owner: sg-milad
- Created: 2023-09-23T09:19:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T07:04:01.000Z (over 2 years ago)
- Last Synced: 2025-01-21T00:51:56.208Z (over 1 year ago)
- Topics: kafka, nestjs, rest-api
- Language: TypeScript
- Homepage:
- Size: 529 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NestJS App
### Installation
```bash
#1. clone the project
$ git clone https://github.com/sg-milad/micro-wallet
#2. go to directory
$ cd /micro-wallet
$ cp .env.example .env
$ docker-compose up
#3. wait a couple of minutes ...
```
### [Swagger Documentation for User Service](https://localhost:3000/doc)
### [Swagger Documentation for Wallet Service](https://localhost:3001/doc)
# User
## Create User
POST /api/user
## get User by ID
Get /api/user/{id}
## Patch User
#### update user info
Patch /api/user/{id}
-----
# Wallet
## PATCH
#### patch amount wallet
PAtch /api/user/{id}/amount
## GET
#### get user amount
GET /api/user/{id}/amount