Skip to content

VaishnaviNandakumar/flask-registration-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Login-Registration Templates

Customizable login and registration templates made with Flask that offers a choice of DB to be used between MySQL and MongoDB.

Templates Available

Template1 Template2 Template3

Initial Setup

Set up a virtual environment and install dependencies.

pip install -r requirements.txt
  • For SQL database, create a table in MySQL and add required information in the .env file.
cd sql
python app.py --t template1 --u root --p samplepw --h localhost --db tablename --s skey
  • For a NoSQL database, intialize the .env file with the requried information.
cd mongo
python app.py --t template1 --c connection_string --s sskey

Sample .env files are provided for reference. Once it's set, the application can be run directly from their respective directories.

python app.py

About

Customizable login and registration templates made with Flask that offers a choice of DB to be used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published