Skip to content

sierkinroman/AdminPanel-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdminPanel-boot

The application has two roles: Admin and User.

Admin has access to adminPanel, where he can manage all users and create new ones. User can create and manage his own account.

On starting application, the database is initialized with default accounts.

Some features

  • Last enabled Admin can't delete himself
  • Last enabled Admin can't change self role to non-Admin
  • Last enabled Admin can't disable self
  • After an authorized user deletes himself, he is automatically logged out
  • If Admin changes self role to non-Admin, he doesn't have access to adminPanel
  • Searching, pagination, sorting

Deployed

The application is deployed on Heroku.

Here is the link: https://admin-panel-boot.herokuapp.com/

Requirements

  • JDK 8

Run application

  • Open terminal in project's root directory
  • ./mvnw spring-boot:run

or run the main method from AdminPanelBootApplication class.

View application in browser

To view application, visit http://localhost:8080/

To log in as Admin:
username and password: admin

To log in as default User:
username and password: user10 or (user11-user49, user01-user09 are disabled)

Or to log in your own account type your credentials.

Stopping application

To stop application press Ctrl + C in terminal.

Technology stack

  • Spring Boot
  • Spring MVC
  • Spring Security
  • Spring Data JPA
  • H2 database
  • JUnit
  • Lombok
  • Logback
  • Thymeleaf
  • HTML, CSS, JavaScript