Django is a web-framework written in Python and runs the backend for many of the internet's most popular websites. This is a multi-user type auth app, it is built ontop of Django 3.1.1
This app features the following:
-- AbstractUser for custom user authentication
-- Authentication Backend configured to authenticate users, using email and password
-- CreateUser Type Teacher or Student at signup
-- Signup With Email Verification Token
-- Login
-- Very basic profile dashboard
-- simple permission to restrict unauthenticate users and unauthorized access
- Django 3.1.1
- Python3
- Boostrap 4.3.x (for front end)
- installing Python3
- installing Django 3.0
- installing Virtualenv
- installing requirements from requirements.txt. After activating vitualenv run:
(venv)path/to/app/src$ pip install -r requirements.txt
- After cloning this repo, make sure your virtualenv is ativated and change your path to $app_root/.
(venv)path/to/app$
-
install packages required by running
(venv)path/to/app$ pip install -r requirements.txt
-
change director to src/ make sure you are in the same directory where manage.py is then run
(venv)path/to/app/src$ python manage.py makemigrations
-
The migrate the app
(venv)path/to/app/src$ python manage.py migrate
-
To run the development server
(venv)path/to/app/src$ python manage.py runserver
-
go to your web browser and enter 127.0.0.1:8000
This App is not designed to be used full in deployement. You are free to make any adjustments to it and include in you project