Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

delitamakanda/socialite

Repository files navigation

socialite app Build Status

work in progress

commands

 pip install -r requirements-dev.txt
python manage.py db init
python manage.py db migrate -m <migration example>
python manage.py db upgrade

generate fake data with forgerypy

python manage.py shell
User.generate_fake(100)
Post.generate_fake(100)

testing webservices httpie

http --json --auth <email>:<password> POST http://127.0.0.1:5000/api/v1.0/posts/ "body=test post"
http --json --auth : GET http://127.0.0.1:5000/api/v1.0/users/34/timeline/
http --auth <email>:<password> --json GET http://127.0.0.1:5000/api/v1.0/token