Skip to content

jsonkwall/django-rest-angular2-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular 2 and Django REST Framework

A simple example application where an Angular 2 app talks to an API running Django REST framework.

Setup

Install dependencies and run migrations to set up the app:

  • Create a virtualenv
  • Run ./build-app.sh

Note: if you are unsure of how to build a virtualenv, uncomment the lines in the install script that will do it for you.

Run the app

Run the REST server:

# in the exampleapp folder
python manage.py runserver

Start the Angular 2 app:

# in the angular2 folder
npm start

About

A simple example of a Django REST app + Angular2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 55.2%
  • TypeScript 16.8%
  • JavaScript 14.1%
  • HTML 8.4%
  • Shell 3.1%
  • CSS 2.4%