Skip to content

Akay7/socialnetwork

Repository files navigation

SocialNetwork

Social network API

Development

To install pre-commit hook.

pre-commit install

Run project with docker-compose

docker compose -f compose.yml -f compose.local.yml build
docker compose -f compose.yml -f compose.local.yml up
docker compose -f compose.yml -f compose.local.yml run social-network-app python3 manage.py migrate

Access via browser to API docs

  1. /api/schema/swagger-ui/
  2. /api/schema/redoc/

It's also exported to Postman Collection

Nuances

API endpoints works for authenticated users apart from Login and Registration.

Authentication happened via JWT token.

JWT token possible to obtain via Registration or Login endpoints.

About

Social network API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published