Skip to main content

A DRF app that provide CRUD endpoints for a blog app.

Project description

DRF Blog Bridger

Introduction

DRF Blog Bridger is a simple tool that allows Djamgo Rest Framework Developers to set up a simple blog API without worrying about the underlying code. The tool takes care of things like CRUD operations for blog posts, as well as the comment feature for each post.

Getting Started

The following instructions will help you install DRF Blog Bridger on your local system and have it running.

Prerequisites

  • Python 3.10 or higher
  • Pip
  • Django Rest Framework

Installation and Setup

  1. Install the package with:

    pip install drf_blog_bridger
    
  2. Include the following settings in your settings.py file:

    INSTALLED_APPS = [
    
        'blog_bridger_drf',
        'rest_framework',
    ]
    
    REST_FRAMEWORK = {
        'DEFAULT_PERMISSION_CLASSES':[
            'rest_framework.permissions.IsAuthenticatedOrReadOnly',
        ]
    }
    
  3. Include the following in your project level urls.py file:

    path('api/posts/', include('blog_bridger_drf.urls')),
    
  4. Run python manage.py migrate to create the models.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf-blog-bridger-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_blog_bridger-0.1.2-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file drf-blog-bridger-0.1.2.tar.gz.

File metadata

  • Download URL: drf-blog-bridger-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for drf-blog-bridger-0.1.2.tar.gz
Algorithm Hash digest
SHA256 883d6aa856c2a9d46829fca2f1f9a5adb32e69965cf50c2a167735b1e8db7092
MD5 3229880f43e202147db9c9af3d3144b8
BLAKE2b-256 26b7e2225c0f21d75e25ee38e76d258d570d3be6de4ee62e73858a369f312945

See more details on using hashes here.

File details

Details for the file drf_blog_bridger-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_blog_bridger-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2bf24aad21a16ac44514659129b26f59f381510278d1372e6d09b62007e32e5e
MD5 f9f94bab14cfc4928f00dc4e0b64c221
BLAKE2b-256 543ffb1ca2b5ec3848308e7e40bd52ef50f0b6d92fbd89dc36ecc24ef4cc577d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page