This project is a Question and Answer system built using Django Rest Framework. It allows users to ask questions, provide answers, and interact with the community by voting on questions and answers.
- User authentication and authorization
- CRUD operations for questions and answers
- Upvoting and downvoting questions and answers
- Search functionality for finding questions
- API endpoints for easy integration with frontend applications
- Clone the repository:
git clone https://github.com/sinanazem/django-rest-framework-course.git
- Install dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
- Access the API documentation at
/api/docs/
after running the server to explore available endpoints and make requests. - Use the provided API endpoints to perform CRUD operations on questions and answers, manage user authentication, and interact with the system.
Contributions are welcome! Please fork this repository, make your changes, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.