The backend of this project is built using Kotlin, Java, and Spring Boot. It also incorporates the Wanim Library, which is a custom library I developed. You can find the instructions and details of this library in the Wanim Library GitHub repository. I will add more detailed information about it later.
Our backend repository can be found here: Backend Repository.
Dependencies in the Backend
The backend includes the following dependencies in the build.gradle file:
I won't go into the details of each dependency, but I will provide the API endpoints that are used in the backend. Some of these APIs may be outdated or not working correctly. If you find any issues, please open an issue on the GitHub Issues page and I will update the APIs accordingly.
Here are some of the key API endpoints:
ESP32 API
Create ESP32:
Method: POST
URL: http://localhost:8080/api/v1/esp32
Request Body:
Get ESP32 by ID:
Method: GET
URL: http://localhost:8080/api/v1/esp32/{id}
Get All ESP32 Devices:
Method: GET
URL: http://localhost:8080/api/v1/esp32?page=0&pageSize=10&sortOrder=ASC&sortBy=title
Update ESP32:
Method: PUT
URL: http://localhost:8080/api/v1/esp32/{id}
Request Body: