Django Rest Framework + Postgres codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Django Rest Framework including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Django Rest Framework community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
- Clone the Git repository:
git clone https://github.com/Sean-Miningah/realWorld-DjangoRestFramework.git
- Create Virtual Environment
cd project_directory
python3 -m venv venv
pip3 install -r requirements.txt
make sure you a postgres database configured for connection
- Run Application
python manage.py runserver
Run:
docker compose up
The project provides API documentation using Swagger. To access the API documentation, follow these steps:
Ensure that the project is running by executing the command mentioned in the "Usage" section.
Open a web browser and navigate to the following endpoint:
/swagger
If you would like to contribute to the project, please follow these guidelines:
-
Fork the repository and create a new branch for your feature or bug fix.
-
Make the necessary changes and commit them.
-
Push your changes to your forked repository.
-
Submit a pull request to the main repository, explaining the changes you made and any additional information that might be helpful for review.