Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months ago
JSON representation
Employee Management System
- Host: GitHub
- URL: https://github.com/elon-fask/brief11
- Owner: Elon-Fask
- Created: 2022-08-02T10:42:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T10:33:46.000Z (over 2 years ago)
- Last Synced: 2023-03-05T18:50:08.660Z (almost 2 years ago)
- Topics: hibernate, html-css-javascript, java, jee, jwt, jwt-auth, jwt-authentication, jwt-token, lambok, orm, spring, spring-boot, spring-security, thymeleaf, webapp
- Language: Java
- Homepage: https://github.com/Elon-Fask/brief11
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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= 1234spring.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
```