Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
/ web-notes-server Public archive

A sample application showing the use of the Spring platform in practice. I mainly use Spring Boot, Spring Security, Spring Framework, Spring Data.

License

Notifications You must be signed in to change notification settings

DuDiiC/web-notes-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample application showing the use of the Spring platform in practice. I mainly use Spring Boot, Spring Security, Spring Framework, Spring Data.

Server testing with swagger available here (as admin: username Kamil, password Kamil123, as user: Marcin, Marcin123).

Application for managing user notes. Implemented functionalities:

  • Spring Security:

    • user management using the UserDetails class extension
    • registration
    • stateless session - verifying users using JWT (expired time: hour per token)
    • email verification during registration (exipred time: 24 hours, the application uses gmail as a example)
    • endpoint security for individual roles and users
    • passwords stored in the database in a hash form
  • Spring Data:

    • two tables: User and Note with a one-to-many relationship as example of mapping
    • repositories implement JpaRepository<T, ID> with own queries (without problems, for example N+1 query problem)
  • Spring Framework:

    • RESTful API for User and Note with DTO classes (conversion using ModelMapper) level 2 in Richardson Maturity Model
    • controllers with implemented pagination, sorting and security, using services
    • full error handling for API
  • others:

    • implemented swagger for API documentation
    • implementation of tests with JUnit and Mockito

About

A sample application showing the use of the Spring platform in practice. I mainly use Spring Boot, Spring Security, Spring Framework, Spring Data.

Topics

Resources

License

Stars

Watchers

Forks

Languages