A Blog App Back-end Using: Django, Postgres, Docker, JWT
- Make a copy of
.env.example
and rename it to.env
- Fill
.env
values with your desired ones - Run
docker-compose build
thendocker-compose up -d
Simply run pytest
in the root directory of the project.
You can use both non-dockerized and dockerized for your development environment
docker-compose -f docker-compose-dev.yml up -d (service name)
or just run all the services without specifying any.
Note: BREAD (browse, read, edit, add, delete)
BREAD | /api/post/post_pk/comment/ /api/post/post_pk/comment/comment_pk/ |
BREAD | /api/post/ /api/post/post_pk/ |
POST | api/auth/login/ |
POST | api/auth/register/ |
POST | api/auth/refresh (refresh token) |
POST | api/post/post_pk/like/ |
POST | api/post/post_pk/remove_like/ |