4 ms·
Do you have an example of TastyPie and AngularJS working together? I've got a straight-forward CRUD app (mostly) that AngularJS will be great for, but wrapping
by cunninghamd 13y ago
Do you have an example of TastyPie and AngularJS working together? I've got a straight-forward CRUD app (mostly) that AngularJS will be great for, but wrapping my brain around it all and an API has been difficult.
- GeneralMaximus 13y agoUnfortunately, I don't know of any such examples. Here's something I found while Googling around: https://github.com/dalcib/angular-phonecat-mongodb-rest https://github.com/dalcib/angular-phonecat-mongodb-rest. It doesn't use Django and Tastypie, but you may find at least the front-end code educational. I personally completely separate my front-end and back-end code. So while the API is built with Django, the front-end doesn't go through Django at all. It's served straight through nginx without doing anything special except maybe some simple URL rewrites for prettier URLs. If I'm not too tied up in college work this week, I might do a write up on Tastypie and Angular integration.