https://github.com/ronakbediya310/user-authentication-system-using-servlets
This is a Java-based web application implementing a simple user authentication system using servlets. It provides basic functionalities for user registration, login, and session management.
https://github.com/ronakbediya310/user-authentication-system-using-servlets
bcrypt css3 html5 java servlets
Last synced: 28 days ago
JSON representation
This is a Java-based web application implementing a simple user authentication system using servlets. It provides basic functionalities for user registration, login, and session management.
- Host: GitHub
- URL: https://github.com/ronakbediya310/user-authentication-system-using-servlets
- Owner: ronakbediya310
- Created: 2023-12-17T07:26:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T07:32:13.000Z (over 2 years ago)
- Last Synced: 2023-12-17T08:28:26.156Z (over 2 years ago)
- Topics: bcrypt, css3, html5, java, servlets
- Language: HTML
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Authentication System
This is a Java-based web application implementing a simple user authentication system using servlets. It provides basic functionalities for user registration, login, and session management.
## Features
- **User Registration:** Allows users to create new accounts with a unique username and a securely hashed password.
- **User Login:** Provides authentication using stored credentials, granting access upon successful login.
- **Session Management:** Maintains user sessions for authenticated users.
## Technologies Used
- Java Servlets
- MySQL Database
- BCrypt for password hashing
## Project Structure
- `src/` - Contains the Java servlets and backend logic.
- `webapp/` - Includes HTML, CSS, and frontend resources.
- `database/` - SQL scripts for database setup and schema.
## Setup Instructions
1. **Database Configuration:**
- Create a MySQL database and execute the provided SQL scripts (`database/setup.sql`).
- Update `DB_URL`, `DB_USER`, and `DB_PASSWORD` in the servlets accordingly.
2. **Project Setup:**
- Clone the repository.
- Import the project into your preferred Java IDE.
3. **Run the Application:**
- Deploy the project on a servlet container (e.g., Apache Tomcat).
- Access the application via the browser at `http://localhost:8080/UserAuth`.
## Usage
- Access the login and registration functionality via the respective HTML pages.
- Test the user authentication flow by registering a new user and then logging in.
## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests with improvements or additional features.

