Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nihahawas/Web-Login-System

Repository files navigation

πŸ” Web Login & Registration System

A full-stack user authentication and management system built using Java Servlets, JSP, JPA/Hibernate, and PostgreSQL. This project demonstrates a secure login and registration flow with complete user CRUD operations and a modern frontend interface.

πŸš€ Features

  • User Authentication: Secure login validation against a persistent database.
  • Account Registration: Dynamic signup flow with real-time backend validation.
  • CRUD Operations: Complete management for creating, reading, updating, and deleting user records.
  • Session Management: Utilizes Java Servlets to maintain user states and secure restricted pages.
  • MVC Architecture: Clean separation of concerns using the Model-View-Controller pattern.
  • DAO Pattern: Centralized data access logic using the Data Access Object pattern.
  • Responsive UI: Modern, clean frontend with light/dark mode support and intuitive navigation.

πŸ› οΈ Tech Stack

  • Backend: Java Servlets, JPA (Java Persistence API) / Hibernate
  • Frontend: HTML5, CSS3, JavaScript (ES6), JSP
  • Database: PostgreSQL (Managed via DBeaver/pgAdmin)
  • Server: Apache Tomcat 10.x
  • Build Tool: Maven

πŸ“‚ Project Structure

  • dao/ β†’ Database operations & persistence logic (UserDao.java)
  • model/ β†’ Data models and Entity classes (User.java)
  • web/ β†’ Servlets handling HTTP requests and routing (UserServlet.java, LoginServlet.java)
  • webapp/ β†’ User Interface assets (JSP files, HTML, CSS, and JS)

βš™οΈ Setup Instructions

  1. Clone the repository:
    git clone [https://github.com/nihahawas/Web-Login-System.git]
    

πŸ“Έ Screenshots

πŸ” Login Page

image

πŸ“ Signup Page

image

πŸ”‘ Reset Password

image

πŸ“Š Database View (PostgreSQL)

image

πŸ“Œ Future Improvements

Security: Adding BCrypt password encryption for enhanced data protection.

API: Implementing a RESTful API version for cross-platform support.

UX: Adding real-time toast notifications for user actions (Success/Error messages).

πŸ‘¨β€πŸ’» Author

Niha Hawas GitHub: https://github.com/nihahawas

About

A full-stack Java Web Application featuring a secure login and registration system. Built using Servlets, JSP, JPA/Hibernate, and PostgreSQL with a clean DAO (Data Access Object) architecture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /