Back-end web services (REST API + DB) developped with Spring Boot, mysql and Docker for my Discord bot !
Create a database on localhost, then rename the file .env.example to .env
and set the variables in it to your database information.
Run linkstart-api with you IDE:
Make request with Postman, curl, or other tool to test the API.
Add a member with this HTTP POST method:
http://localhost:8001/api/members
And this body:
{
"id": 1,
"tag": test#0001
}
Retrieve the members with HTTP GET method:
http://localhost:8001/api/members