Skip to content

vivek0079/Authentication-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-app

Description:

This is a custom user authentication app mainly focused on following functionalities 1.Register/Creating user 2.Login/Logout user 3.Two step Email verification 4.Forgot password option

This app is mainly for the reference of django authentication system

Technology Stack:

Front-end:   Bootstrap 4(HTML & CSS)

Back-end:   Django1.11 (Python 3.5)

Database:   dbsqlite3

Instructions:

1.Make a directory in your local machine and create a virtual environment by python3 -p virtualenv .

2.Clone this repo in that directory and ensure to install the requirements by pip install -r requirments.txt

3.Make the migrations to create the database by python3 manage.py makemigrations followed by python3 manage.py migrate

4.Create superuser by using the command python3 manage.py createsuperuser

5.To run the application open terminal and change directory to the manage.py in the Blog-app/mysite folder.Now run the command python3 mange.py runserver and the app goes live in your machine.

Note:

This is just a prototype and is not indented for deployment.

This app uses smtp.gmail backend to send mails.However gmail is not recommended for a production project (live web application) because gmail is not a transactional email service; gmail is not made web application use and, if abused, could cause you to be banned from gmail. In any case, it's still very useful to test on gmail until you move to a production-ready email service like Sendgrid or Postmark.