Warning: This is a work in progress. We are still working on improvements to this project.
- First you need to install docker in your pc, follow instructions:
- You can download the docker desktop to run the project in the link above.
- After install, probably the app will request you to install wsl, if you are having trouble with this, you can follow the instructions that are present HERE
- By default, your docker application will select the wsl option.
- Open the project file in your preferred IDE
- Open terminal
- in the terminal type the following command:
cd docker
- And then type:
docker-compose -f .\docker-compose-prod.yml up -d
- After this command you will see the containers running on your docker desktop app, follow image:
- if the app container is not green like as image below
- you need to run one more time the following command:
docker-compose -f .\docker-compose-prod.yml up
- or
docker-compose -f .\docker-compose-prod.yml up application
-
I will work on to solve this problem, but it happens because the application container is going up at the same time as the rabbitmq container.
-
by running project's containers POSTMAN will be available for you to make http requests or any similar application.
-
To see the requests that can be made to the API after starting the application, you can insert the following link in your browser of choice:
http://localhost:8080/swagger-ui/
-
When you enter in the above link, the following screen will appear:
-
How you can see, we have 4 controllers that we can use. So you can open the controllers to see endpoints.
-
With the application running, you can use postman to perform the requests