Skip to content

ArthurStep/Spring-Auth-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PassTimeNote (Spring Auth System)

Architecture

Core Classes

  • PassTimeNoteApplication: the main entry point for initializing the Spring Boot application
  • AuthProcessController & MainController: the core controllers managing web routes and authentication forms
  • LoginService & RegistrationService: handle the business logic for user authentication and account creation
  • VerifyService & RandomCodeService: manage the generation and validation of account verification codes
  • AppMailSender: handles sending email notifications for account verification
  • Users & UsersRepo: define the user database entity and manage data access via Spring Data JPA
  • AESService: manages AES encryption for securing user passwords in the database

Development

Project Structure

src/main/java/main/artfix/passtimenote/
├── PassTimeNoteApplication.java  # Bootstraps the Spring Boot application
├── controllers/                  # Web request handlers
│   ├── AuthProcessController.java# Processes login and registration forms
│   ├── ErrorController.java      # Handles application errors and error pages
│   └── MainController.java       # Manages main view routes
├── models/                       # Database entities
│   └── Users.java                # User entity representing the database schema
├── repos/                        # Data access layer
│   └── UsersRepo.java            # Spring Data JPA repository for Users
└── services/                     # Business logic and external services
    ├── AESService.java           # AES encryption/decryption logic
    ├── AppMailSender.java        # SMTP email sending service
    ├── LoginService.java         # User login processing
    ├── RandomCodeService.java    # Generates random codes for verification
    ├── RegistrationService.java  # User registration processing
    └── VerifyService.java        # Handles account verification logic

📄 License

This project is open source and available under the MIT License.

👨‍💻 Author

Arthur Stepanyan

Built with ☕ and lots of strategic thinking!

About

Spring Framework Login and Registration System with Account Verify

Topics

Resources

Stars

Watchers

Forks

Contributors