Developing
- make
- pipenv
- postgresql
- redis
pipenv shell
pipenv install
createdb makrub
createuser makrub
psql makrub
alter user makrub with encrypted password 'localpass';
grant all privileges on database makrub to makrub ;
make migrate
http://127.0.0.1:8000/admin/
http://127.0.0.1:8000/
api/auth/login/
use e-mail and password to receive jwt tokenapi/auth/login/refresh/
refresh jwt token when it is nearly expiredapi/auth/login/verify/
send jwt token to verifyapi/auth/register/
api/users/
all users listapi/users/<int:pk>/
an user detailapi/users/profiles/
addition users' detailapi/users/profiles/<int:pk>/
api/rooms/
all rooms listapi/rooms/<int:pk>/
each room detailapi/rooms/join/
a guest user's action to join the room by room_code and room_passwordapi/rooms/unjoin/
a guest user's action to leave the roomapi/answers/
all answers listapi/answers/<int:pk>/
make dev
docker run -it python:3.6-alpine /bin/sh -c "/sbin/ip route|awk '/default/ { print \$3 }'"