Giter Site home page Giter Site logo

ewalti / ember-data-django-rest-adapter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toranb/ember-data-django-rest-adapter

0.0 1.0 0.0 2.15 MB

An ember-data adapter for django web applications powered by the django-rest-framework

License: MIT License

JavaScript 100.00%

ember-data-django-rest-adapter's Introduction

ember-data-django-rest-adapter

Build Status

This package enables you to build modern web applications using Ember.js and Django REST Framework. For detailed information on installing and using the adapter, see the wiki documentation.

Community

Installing

The adapter is packaged separately as an Ember CLI add-on. Installation is very simple:

npm i --save-dev ember-django-adapter

and set the API_HOST and API_NAMESPACE configuration variables in config/environment.js, e.g.:

if (environment === 'development') {
  ENV.APP.API_HOST = 'http://localhost:8000';
  ENV.APP.API_NAMESPACE = 'api';
}
if (environment === 'production') {
  ENV.APP.API_HOST = 'https://api.myproject.com';
  ENV.APP.API_NAMESPACE = 'v2';
}

See the wiki documentation for additional installation instructions, including how to use the adapter with vanilla ember (without using ember-cli).

Pending Issues

  • Async belongsTo/hasMany requires a pull-request be merged into ember-data core (#63)

  • Pagination is not yet supported (#80)

Credits

I took a large part of this project (including the motivation) from @escalant3 and his tastypie adapter.

Special thanks to all contributors!

License

Copyright © 2014 Toran Billups http://toranbillups.com

Licensed under the MIT License

ember-data-django-rest-adapter's People

Contributors

acatton avatar apmorton avatar bouke avatar chripede avatar commadelimited avatar craigteegarden avatar dhilipsiva avatar ewalti avatar g-cassie avatar h1d avatar kitsunde avatar lmeunier avatar mattjmorrison avatar toranb avatar williamsbdev avatar

Watchers

 avatar

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.