MattRodriguez64 / API-REST-Smartwatch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API-REST-Smartwatch

Table of Contents

  1. General Info
  2. Technologies
  3. Installation
  4. Use

General Info

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.

Technologies


List of technologies used within the project:

Installation

A little intro about the installation.

  1. Clone the repository
$ git clone https://github.com/MattRodriguez64/API-REST-Smartwatch.git

Use

  1. Open the project with Java IDE (Eclipse IDE)
  2. Compile the project with Maven Project (add to goals : clean install)
  3. Start the docker container with : $ docker run --rm -it -p 15672:15672 -p 5672:5672 --name my-rabbit -d rabbitmq:3-management
  4. Go to the docs : http://localhost:8080/smartwatch/docs/index.html
  5. Take the Auth URI and make a POST request with login and password in JSON format
  6. Get your precious Token
  7. Make all Requests you want (Launch as Java App the Producer to see RabbitMQ)
  8. OR you can use the website : https://github.com/MattRodriguez64/Smartwatch-FlaskServer

About


Languages

Language:Java 70.6%Language:HTML 29.4%