Skip to content

RichDaddyCashMany/python_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_api

  • python 2.7
  • pymysql 0.8.0
  • Flask 0.12.2
  • flask_restful 0.3.6
  • flask_sqlalchemy 2.3

Usage

  • first import pytest.sql to your database
  • install libs
  • then run the server
. venv/bin/activate
pip install -r requirements
python index.py

Api

http://localhost:5000/user/reg?username=abc&password=123456
http://localhost:5000/user/login?username= abc&password=123456

Multi-site deployment

https://www.jianshu.com/p/30f422539993

About

python api demo with flask, flask_sqlalchemy, flask_restful, pymysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published