Skip to content

Legacy-G/django-auth-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Django Authentication System πŸ›‘οΈ

A clean and customizable user authentication system built with Django. This project includes login, signup, logout, and modal-based UI interactions using Bootstrap 5.

πŸš€ Features

  • 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

πŸ“¦ Tech Stack

  • Backend: Django 5.x
  • Frontend: HTML, Bootstrap 5
  • Database: SQLite (default, easily swappable)
  • Languages: Python, HTML

πŸ“ Project Structure

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

βš™οΈ Setup Instructions

  1. Clone the repo:
    git clone https://github.com/Legacy-G/django-auth-system.git
    cd django-auth-system
    
  2. Create and activate a virtual environment
     python -m venv env
     source env/bin/activate  # On Windows: env\Scripts\activate
    
  3. Install dependencies:
    pip install -r requirements.txt
    
  4. Run migrations:
    python manage.py migrate
    
  5. Start the server:
    python manage.py runserver
    
  6. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published