A simple REST API based social network in Django where Users can sign up and create text posts, as well as view, like, and unlike other Users’ posts.
docker-compose up --build
docker-compose exec web pytest
Auth endpoints for users to register, login, logout, change details, refresh and validate tokens.
CRUD for Posts
CRUD for reacting (like and dislike) to posts
refer to /docs/ enpoint for more details
For validating the format of user's email address, fetching their geolocation data and identifying if they registered on a local holiday, Abstract API was used. For these tasks to work, the following keys are required:
- EMAIL_VALIDATION_API_KEY
- IP_GEOLOCATION_API_KEY
- HOLIDAYS_API_KEY
- Use flake8, black and isort to better format. stylize and organize code.
- Add intergartion tests