Skip to content

bug-coder-007/creatify_pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The creatify iterview mini project.

run step:

1.run docker: docker-compose up --build
2.user signup:
req:
curl --location 'http://127.0.0.1:8000/signup/' \
--data-raw '{
    "email": "[email protected]",
    "password": "123"
}'
rsp:
{"userid":1,"email":"[email protected]"}
3.user signin:
req:
curl --location 'http://127.0.0.1:8000/signin/' \
--data-raw '{
    "email": "[email protected]",
    "password": "123"
}'
rsp:
{"access_token": "xxxx", "refresh_token": "xxxx"}
3.get me info:
req:
curl --location 'http://127.0.0.1:8000/me/' \
--header 'Authorization: Bearer <access_token_from_signin>'
rsp:
{"id": 1, "email": "[email protected]"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published