A clean and customizable user authentication system built with Django. This project includes login, signup, logout, and modal-based UI interactions using Bootstrap 5.
- User registration with validation
- Login and logout functionality
- Modal-based forms for seamless UX
- AJAX checks for username and email availability
- Bootstrap 5 styling for responsive design
- Django messages framework for feedback alerts
- Backend: Django 5.x
- Frontend: HTML, Bootstrap 5
- Database: SQLite (default, easily swappable)
- Languages: Python, HTML
authsystem/
βββ authentication/ # App for auth views and templates
β βββ templates/
β β βββ authentication/
β β βββ login.html
β β βββ signin.html
β βββ views.py
β βββ urls.py
βββ templates/
β βββ index.html
β βββ landingpage.html
βββ manage.py
βββ db.sqlite3
- Clone the repo:
git clone https://github.com/Legacy-G/django-auth-system.git cd django-auth-system - Create and activate a virtual environment
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run migrations:
python manage.py migrate
- Start the server:
python manage.py runserver
- Visit http://127.0.0.1:8000/ to view the landing page.
π§ͺ Testing Try registering a new user via the Signin modal
Login using the Login modal
Check for validation messages and modal transitions
π To-Do Add password reset functionality
Integrate email verification
Improve accessibility and ARIA compliance
π License This project is open-source under the MIT License.