Git Product home page Git Product logo

django-user-auth's Introduction

Django User Authentication System

This project is a Django-based web application implementing a user authentication system. It provides basic functionalities for user registration, login, logout, and profile management.

Features

  • User Registration: Allows new users to create an account by providing a username, email, password, and confirming the password.
  • User Login: Users can log in using either their username or email along with their password.
  • Dashboard: After a successful login, users are redirected to a simple dashboard displaying a welcome message with their username.
  • User Profile: A basic profile page displaying user information. This page is accessible only to logged-in users.
  • Logout Functionality: Users can log out of the application, which redirects them back to the login page.
  • Built-in Authentication: Uses Django's built-in authentication system for handling user registration, login, and logout processes.

Snapshots

Below are some snapshots of the application in action:

Login Page

image

Sign Up / Register Page

image

Home Page

image

Profile Page

image

Installation and Setup

Follow these instructions to get the project up and running on your local machine for development and testing purposes.

Setting up the project

  1. Clone the Repository (if you haven't already)

    git clone https://github.com/Addy-codes/django-user-auth.git
    cd user-auth
  2. Set up a Python Virtual Environment

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install Required Packages

    pip install -r requirements.txt
  4. Database Migrations

    Before running the application, you need to create the necessary database tables:

    python manage.py migrate
  5. Create a Superuser

    To access the admin panel, create a superuser:

    python manage.py createsuperuser
  6. Run the Development Server

    Start the Django development server:

    python manage.py runserver
  7. Access the Application

    Open your web browser and go to http://localhost:8000/ to view the application.

License

This project is licensed under the MIT License - see the LICENSE file for details.

django-user-auth's People

Contributors

addy-codes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.