This project was generated with Spring Boot
This project is a secure login and registration system with JWT authentication and validations.
Note: Only authenticated users can update or delete their own accounts.
Authentication is done using a token received after login.
With the users/me endpoint it is possible to receive information about the authenticated user.
- In Postman, navigate to the Headers section.
- Add a new header with the key
Authorization. - Set the value to
Bearerfollowed by a space and then your token.
+ Java
+ Maven - version 4.0.0
+ Spring Web
+ JPA
+ Database development MySQL
+ Lombok
+ JWT - version 4.4.0
+ Spring Security
+ Validation
+ Modelmapper - version 3.1.1-
$
git clone https://github.com/jnorgini/spring-jwt -
in the cloned project directory $
git checkout develop -
VS Code open the project and start
SpringJwtApplication.javaafter adjusting the database settings inapplication.properties -
STS4 import maven project and start local server after adjusting database settings in
application.properties
The microservice is available at Render. To avoid periods of inactivity, I use cron jobs configured at Cron-Job.org with the endpoint /report/1 for scheduled tasks.
🛠️ Juliana Norgini







