Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPCS

Setup Virtual Environment

virtualenv venv
source venv/bin/activate

pip install -r api/requirements.txt

Run Backend API Server

Flask Rest API

Since there is mysql database is used, make sure server is running and configure in config/config.json

capstone database is used so please create if not exists

CREATE DATABASE IF NOT EXISTS `capstone`;
cd api/
python app.py

OR Run using gunicorn

gunicorn -w 4 -b 0.0.0.0:8000 app:app

Mail Server

It asynchronously sends password reset links to the users.

python mail.py --start password-reset --sleep 5

Contact Message

It asynchronously sends contact message to us.

python mail.py --start contact-message --sleep 5

Run Frontend Server

cd web/
python app.py

http://127.0.0.1:5000/

About

Flask Rest API

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages