A simple backend with microservice architecture where users can upload their attempts for specific songs
API Endpoints • Prerequisites • Running the Project • Env • Technologies • Author
Before starting, you will need to have the following tools installed on your machine: Git, Node.js, Docker.# Clone this repository
$ git clone <henriquemoreiraa/nestjs-microservices-sa>
# Access project folder in terminal/cmd
$ cd nestjs-microservices-sa
# Install the dependencies
$ docker-compose up --build
# For each project
MONGODB_URI
RABBIT_MQ_URI
RABBIT_MQ_AUTH_QUEUE
# ./attempt/.env
PORT
RABBIT_MQ_ATTEMPT_QUEUE
RABBIT_MQ_AUTH_QUEUE
# ./auth/.env
PORT
JWT_SECRET
The following tools were used in building the project:
Here you can list the main routes of your API, and what are their expected request bodies.
route | description |
---|---|
POST /attempts | create new attempt request details |
GET /attempts | retrieve all attempts response details |
GET /attempts/:id | retrieve one attempt response details |
REQUEST
{
"musicName": "abc",
// "audioUrl": developing,
}
RESPONSE
[
{
"musicName": "abc",
// "audioUrl": developing,
}
]
RESPONSE
{
"musicName": "abc",
// "audioUrl": developing,
}
Henrique Moreira
Made with ❤️ by Henrique Moreira 👋🏽 Get in touch!