django-rest-angular2-exampleA simple example of a Django REST app + Angular2
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
评论
Simple REST Client
对大多数朋友而言,SimpleRESTClient并不是一个常用的扩展,但当需要用到的时候却又非常方便。通过SimpleRESTClient扩展你可以非常详细的构建Http请求,发送请求后又可以获得服
Simple REST Client
0
Django Simple CaptchaDjango 验证组件
DjangoSimpleCaptcha一个非常简单但高度可定制的Django验证组件,可将验证码图像添加到任意Django表单。特性易于设置和部署,但高度可配置可自定义验证内容(如随机字符、数学题..
Django Simple CaptchaDjango 验证组件
0
angular4-docker-exampleEfficiently Dockerized Angular CLI example app
DockerizedAngular4App(withAngularCLI)Builddockerimage$dockerbuild-tmyapp.Runthecontainer$dockerrun-d
angular4-docker-exampleEfficiently Dockerized Angular CLI example app
0
Django Simple CaptchaDjango 验证组件
Django Simple Captcha一个非常简单但高度可定制的 Django 验证组件,可将验
Django Simple CaptchaDjango 验证组件
0
angular4-docker-exampleEfficiently Dockerized Angular CLI example app
Dockerized Angular 4 App (with Angular CLI)Build d
angular4-docker-exampleEfficiently Dockerized Angular CLI example app
0