akd6203 / Django_based_simple_web_app_with_angularJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django_based_simple_web_app_with_angularJS

This is demo rest api develop in django rest framework using class base views with Modelviewset, with angularjs and GraphQL.

Requirements:

  • Python 3.6+
  • Django
  • Django rest framework
  • AngularJS

what you will learn from this tutorial:

  • How to build rest Api in Django rest framework with pagination
  • searialize api data
  • Handling CRUD Operations
  • Adding custom methods in viewset using action decorator
  • Buliding SPA using AngulaJS
  • Creating custom commands in django for populating fake data in database

There are three modules , that i have developed in this project

  • Browsable Rest APi using DRF, url => http://localhost:8000/api/
  • AngularJS Single page web app, where user can perform CRUD operation in rest API, url => http://localhost:8000/app/
  • GraphQL based Rest api, url => http://localhost:8000/graphql

how to run this code:

  • clone or download it from here
  • install docker and docker-compose
  • Got the root dir of this project where Dockerfile is located and Run this command
  • docker-compose up

About


Languages

Language:HTML 53.4%Language:Python 44.9%Language:Dockerfile 1.7%