An authentication application built with Django, featuring user registration, login, password reset, and profile management.
This project is a basic user authentication system implemented using Django. It includes functionalities such as user registration, login, password change, password reset, and profile management. The project also includes a responsive UI with proper form validation and error handling.
- User Registration
- User Login
- Password Reset
- Profile Management
- Custom Password Validation
- Session Management
- Responsive UI
Follow these steps to set up the project locally:
- Clone the Repository:
git clone https://github.com/prabhaspaddana/auth_project.git cd auth_project
2.Create and Activate a Virtual Environment:
sh
python -m venv venv
source venv/bin/activate # On Windows use venv\Scripts\activate
3.Install Dependencies: sh pip install -r requirements.txt
4.Apply Migrations: sh python manage.py migrate
5.Create a Superuser: sh python manage.py createsuperuser
6.Run the Server: sh python manage.py runserver
Usage Register a new user through the sign-up page.
Login with the registered credentials.
Access the profile management and password change features.
Reset the password if forgotten through the password reset feature.
Folder Structure auth_project/ ├── accounts/ │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── backends.py │ ├── forms.py │ ├── models.py │ ├── urls.py │ ├── views.py │ ├── templates/ │ │ ├── base.html │ │ ├── change_password.html │ │ ├── dashboard.html │ │ ├── login.html │ │ ├── profile.html │ │ ├── signup.html │ └── static/ │ ├── styles.css │ └── scripts.js ├── auth_project/ │ ├── init.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── manage.py └── requirements.txt
Contributing If you'd like to contribute to this project, please fork the repository and create a pull request with your changes.
License This project is licensed under the MIT License. See the LICENSE file for details.
Contact If you have any questions or suggestions, feel free to contact me at [email protected].
- Copy the entire content above, including the sections and formatting.
- Create a new file named
README.md
in your project directory. - Paste the copied content into the
README.md
file. - Save the file and push the changes to your GitHub repository.