This is a Django Rest Framework-based API for a social networking application.
- User registration and login
- User search
- Friend requests (send, accept, reject)
- List friends
- List pending friend requests
-
Clone the repository:
git clone https://github.com/yourusername/social-network-api.git cd social-network-api
-
Build and run the Docker containers:
docker-compose up --build
-
Apply migrations:
docker-compose exec web python manage.py migrate
-
Create a superuser (optional):
docker-compose exec web python manage.py createsuperuser
-
The API should now be accessible at
http://localhost:8000/
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.