Coder Social home page Coder Social logo

pselle / django-rest-angular2-example Goto Github PK

View Code? Open in Web Editor NEW
133.0 133.0 51.0 75 KB

A simple example of a Django REST app + Angular2

License: MIT License

TypeScript 16.76% HTML 8.45% CSS 2.42% JavaScript 14.08% Python 55.23% Shell 3.07%
angular angular2 django

django-rest-angular2-example's People

Contributors

dependabot[bot] avatar kpavlovsky avatar pselle avatar williamrexhardin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-rest-angular2-example's Issues

Error executing instructions for: Set up Angular app - I also tried with sudo.

Thanks for the help.

npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'angular/platform-browser-dynamic' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'angular2-djangocon-2016'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/ronald/PycharmProjects/xample/angular2
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ronald/PycharmProjects/xample/angular2/npm-debug.log
npm ERR! not ok code 0

Integrate with CSRF

Please update with csrf integration when backend and frontend running on different ports how to get the cookie

unit tests

Hi,

Is that possible, you create some basic unit tests for angular2?

Suggestion: Add a POST example

I specifically opened your project to see how to do the csrf bits properly from angular2 to django. Alas there are no such bits here. Would you please add some when you get a chance? It would be helpful to many.

Production

Not seeing any explaination on how to do this project with Production of course with developement no problem but as for production not seeing any solution i currently am trying to get this to work with Production but have run into a problem with getting it to work .

Wanted to see if anyone else has had the same issue I am using pythonanywhere.com and seems to work with the api but when i am trying to use the Angular side not geting anything to show.

Could you please update it to work with the production side. thanks

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.