Skip to content

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.

Notifications You must be signed in to change notification settings

ZainAli121/DRF-Blog-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DRF-Blog-API

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.

Features

  • User Authentication
  • Blog CRUD
  • Comments on blog

Tech Stack

  • Python
  • Django
  • Django Rest Framework

Installation

  1. Clone the project's repository to your local envirement:

    $ git clone https://github.com/ZainAli121/DRF-Blog-API
    
    
  2. Create the virtual envirement

     pip install venv venv
    
  3. Activate the virtual envirement

    venv\Scripts\activate
    
  4. Navigate to project directory:

    cd blog_api
    
  5. Run the following command to install all dependencies

    python -m pip install -r requirements.txt
    
  6. Apply migrations and create database, run the following command

    python manage.py makemigrations
    
    python manage.py migrate
    
  7. Start server with following command:

      python manage.py runserver
    
  8. Click on http://127.0.0.1:8000/ to get access of website.

Contibutions

  • 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

Developer

  • Zain Ali

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages