Skip to content

yusk/todoapp-django-sample

Repository files navigation

README

env

  • pyproject.toml の python を参照
    • poetry

all

cp .env.sample .env
poetry run poetry install
poetry run python manage.py migrate

run

poetry run python manage.py runserver

create user

poetry run python manage.py createsuperuser

check api schema

# after run server
open localhost:8000/schema/ # need session login

httpie

http post http://localhost:8000/api/register/dummy/
http post http://localhost:8000/api/auth/user/ email=test@test.com password=testuser

http post http://localhost:8000/api/auth/refresh/ token=$TOKEN
http post http://localhost:8000/api/auth/verify/ token=$TOKEN

http http://localhost:8000/api/user/ Authorization:"JWT $TOKEN"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages