This project is configured with H2 in memory DataBase, all the data will be lost when the application is stopped.
A SpringBoot App that expose an API with public and private endpoint, it is intended for educational purpose and is not ready to be used in a production environment.
There are 4 endpoints available
HTTP Method | Endpoint | Description | Type |
---|---|---|---|
POST | /api/auth/login | Validate a user and password | public |
POST | /api/auth/signup | Create a new user | public |
GET | /api/test/all | Get data available for all public | public |
GET | /api/test/user | Get data for a user authenticated | private |
- Clone the repo in your local
- Run
./gradlew bootRun
in your terminal from the root path of the cloned project - Now http://localhost:8080 is exposed to receive the request
Acknowledgement: Code is based on this Coders Campus playlist