Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pselle/django-rest-angular2-example
A simple example of a Django REST app + Angular2
https://github.com/pselle/django-rest-angular2-example
angular angular2 django
Last synced: about 2 months ago
JSON representation
A simple example of a Django REST app + Angular2
- Host: GitHub
- URL: https://github.com/pselle/django-rest-angular2-example
- Owner: pselle
- License: mit
- Created: 2016-07-19T00:49:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T19:21:13.000Z (over 3 years ago)
- Last Synced: 2024-10-19T14:42:59.326Z (2 months ago)
- Topics: angular, angular2, django
- Language: Python
- Homepage:
- Size: 73.2 KB
- Stars: 132
- Watchers: 9
- Forks: 52
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```