Skip to content

📚 Library app REST API and GraphQL interface built with Django, Django REST Framework and Graphene

Notifications You must be signed in to change notification settings

erinkelsey/libby-django-restapi-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libby-django-restapi-graphql

Django REST Framework API and a Graphene GraphQL interface built with REST API serializers

About

Simple library backend using Django REST Framework and Graphene to create a REST API and a GraphQL interface. The stack is Python/Django/SQLite/GraphQL/Graphene/Heroku/Django REST Framework. You can see working example here:

REST API:

  • Functionality:

  • pagination example

GraphQL:

Features

Book:

  • Add Book
  • Update Book
  • Delete Book
  • View Book Details

Author:

  • Add Author
  • Update Author
  • Delete Author
  • View Author Details

Install

Install Dependencies (in same folder as Pipfile):

pipenv install 

Setup

DB Settings:

  • Add your DB details to settings.py

DB Migrations:

python manage.py migrate

Run

Start server:

python manage.py runserver

TODO

  • unit tests
  • integration tests

Releases

No releases published

Packages

No packages published