A Django Rest Framework (DRF) powered Blog API, offering CRUD functionality for blog posts and comments. Ideal for building the backend of a dynamic blogging platform.
- User Authentication
- Blog CRUD
- Comments on blog
- Python
- Django
- Django Rest Framework
-
Clone the project's repository to your local envirement:
$ git clone https://github.com/ZainAli121/DRF-Blog-API
-
Create the virtual envirement
pip install venv venv
-
Activate the virtual envirement
venv\Scripts\activate
-
Navigate to project directory:
cd blog_api
-
Run the following command to install all dependencies
python -m pip install -r requirements.txt
-
Apply migrations and create database, run the following command
python manage.py makemigrations python manage.py migrate
-
Start server with following command:
python manage.py runserver
-
Click on http://127.0.0.1:8000/ to get access of website.
- Your contibutions are always appreciated.
- Fork this repository into your system
- Make any changes or fix any bugs you found
- Submit your changes via pull request to main repository
- Zain Ali