1

I recently completed the Lynda.com tutorial for AngularJS, and they show an example in which they used a JSON file to filter and sort the "airport data". However near the end they replace the actual file with an API that calls the database and returns data in JSON format.

How do I do that part on the backend? How do I have a database with JSON APIs? What's the best place to start?

I have some experience with frameworks like Django for the backend, so ideally Python would be the language on the backend.

1
  • What language do you plan to use on the server side? PHP, Java, RubyOnRails, Javascript, Python, etc? Commented Sep 21, 2013 at 20:01

1 Answer 1

1

You need a REST API on the backend, which will work with a database and return responses in JSON.

For Django: http://tastypieapi.org/ http://django-rest-framework.org/

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks. Does this means I need to use an ORM or a framework like Django to achieve this? Thats exactly what I need to know...how to I get the REST API Backend
thanks for shining some light into this. I am learning a lot in a short period of time and its easy to get lost in all the details. I didn't even realized Django wasn't already enabling a REST API on the backend. What resource do I have available if Im using Node and MongoDB?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.