For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Security
- Spring Data JPA
- Spring Data MongoDB
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Securing a Web Application
- Spring Boot and OAuth2
- Authenticating a User with LDAP
- Accessing Data with JPA
- Accessing Data with MongoDB
The following endpoints are working on heroku, you can consume it with your own app or Postman:
- /api/auth/register => [POST]
- send request body: {"name": "your name", "lastName": "your lastName", "email": "[email protected]", "pwd": "your strong password", "profile": "base64 img"}
- /api/auth/login => [POST]
- send request body: {"email": "[email protected]", "pwd": "your strong password"}
- /api/contacts/{email} => [GET]
- /api/contacts/{email} => [POST]
- send request body: {"profile": "your base64 image", "firstName":"your firstName", "lastName":"your lastName", "nickName":"your nickName", "email":"[email protected]", "phoneNumber": "1234567890", "website":"your.website", "relationship":"your relationship", "notes": "write some notes here..."}
- /api/contacts/{email} => [PUT]
- send request body: {"profile": "your base64 image", "firstName":"your firstName", "lastName":"your lastName", "nickName":"your nickName", "email":"[email protected]", "phoneNumber": "1234567890", "website":"your.website", "relationship":"your relationship", "notes": "write some notes here..."}
- /api/contacts/delete/{id} => [DELETE]