The goal of this API REST is to simulate a smartwatch which send some datas to the RabbitMQ Broker, and get the datas using a website and show the personal graphs, or make some statistic.
List of technologies used within the project:
- Payara Server: Version 5.2021.10
- Project Lombok: Version 1.18.22
- JSON Web Token: Version 2.1.3
- Swagger-Ui: Version 3.0
- Bootstrap: Version 5.1.3
- RabbitMQ: Version 3.9.13
A little intro about the installation.
- Clone the repository
$ git clone https://github.com/MattRodriguez64/API-REST-Smartwatch.git
- Open the project with Java IDE (Eclipse IDE)
- Compile the project with Maven Project (add to goals : clean install)
- Start the docker container with :
$ docker run --rm -it -p 15672:15672 -p 5672:5672 --name my-rabbit -d rabbitmq:3-management
- Go to the docs : http://localhost:8080/smartwatch/docs/index.html
- Take the Auth URI and make a POST request with login and password in JSON format
- Get your precious Token
- Make all Requests you want (Launch as Java App the Producer to see RabbitMQ)
- OR you can use the website : https://github.com/MattRodriguez64/Smartwatch-FlaskServer