use flask to implement a simple API Server
See requirements.txt
- Auth
- register mail, verify email address
- forget password mail(not support modified password)
- Data CURD
- Params validation
- Custom Http Exception
- Pagination
- uwsgi + nginx
More features will coming.....
chmod +x setup.sh
./setup.sh
sudo -s -u postgres
psql -c "create user testusr with password 'password';"
psql -c "ALTER USER testusr WITH SUPERUSER;"
Don't use the default password
export FLASK_DEBUG=True
export qqmailaddress="[email protected]"
export qqmailpass="your_mail_auth_code" # not the qq password.
python manage.py recreate_db
python manage.py runserver
curl http://0.0.0.0:5000
welcome to create a issue.
Thanks for tko22