Coder Social home page Coder Social logo

mgai / django-api-rest-and-angular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevinastone/django-api-rest-and-angular

0.0 1.0 0.0 1.95 MB

An example repository of combining Django Rest Framework with AngularJS

Home Page: http://kevinastone.github.io/getting-started-with-django-rest-framework-and-angularjs.html

CoffeeScript 16.72% Makefile 1.00% Python 67.48% HTML 14.81%

django-api-rest-and-angular's Introduction

Django API with Django Rest Framework and AngularJS-Resource

This sample project is the companion of a blog post on how to get started with Django Rest Framework and AngularJS.

Dependencies

To setup and run the sample code, you're going to need npm from NodeJS available to install the frontend code.

Setup

You're encouraged to setup a virtualenv to work in prior to configuring the dependencies.

  1. Install Python Requirements

     pip install -r requirements.txt
     python setup.py develop
    
  2. Install Bower + Grunt

     npm install -g grunt-cli bower
    
  3. Install Assets

     npm install
     bower install
    
  4. Compile Assets

     grunt
    
  5. Setup the Database

     make create_database; make make_fixtures
    
  6. Run the Server

     ./manage.py runserver
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.