Skip to main content

A Django app to build REST API

Project description

Boilerplate Django Rest API

Django app build with rest api package such as DjangoRestFramework.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "boilerplate_django_rest_api" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
    ...
    'boilerplate_django_rest_api',
]
  1. Include the polls URLconf in your project urls.py like this::
path('rest/', include('boilerplate_django_rest_api.urls')),
  1. Run python manage.py migrate to create the polls models.

  2. Start the development server and visit http://127.0.0.1:8000/admin/ to test the rest (you'll need the Admin app enabled).

  3. Visit http://127.0.0.1:8000/rest/ to test the rest api

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

boilerplate_django_rest_api-0.8.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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