Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elon-fask/brief11

Employee Management System
https://github.com/elon-fask/brief11

hibernate html-css-javascript java jee jwt jwt-auth jwt-authentication jwt-token lambok orm spring spring-boot spring-security thymeleaf webapp

Last synced: about 8 hours ago
JSON representation

Employee Management System

Awesome Lists containing this project

README

        

# EMPLOYEE MANAGEMENT SYSTEM

# User Registration, User Login and Autorization process.
The diagram shows flow of how we implement User Registration, User Login and Autorization process.

![image](spring-boot-jwt-authentication-spring-security-flow.png)

# Refresh Token
![image](spring-boot-refresh-token-jwt-example-flow.png)

# Configure Spring DataSource, JPA and Application.properties
Open ```/src/main/resources/application.properties```
> For PostgreSQL:
```
spring.datasource.url= jdbc:postgresql://localhost:5432/testdb
spring.datasource.username= postgres
spring.datasource.password= 1234

spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation= true
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.PostgreSQLDialect

# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto= update

# App Properties
elonfask.app.jwtSecret= bezKoderSecretKey
elonfask.app.jwtExpirationMs= 7200000
```