Minimal Spring Boot sample app.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the biojj.BloodBankApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
Spring Boot Back-end Visão geral Estas são APIs que o Spring Boot App exportará:
BASEURL: localhost:8080/
Methods | Urls | Actions |
---|---|---|
POST | /api/candidate | create new candidate |
GET | /api/candidate | retrieve all candidates |
GET | /api/candidate/:id | retrieve a candidate by :id |
PUT | /api/candidate/:id | update a candidate by :id |
DELETE | /api/candidate/:id | delete a candidate by :id |
POST | /api/users | create new user |
POST | /oauth/token | Login |