Giter Site home page Giter Site logo

ember-data-mirage-presentation's Introduction

ember-data-mirage-presentation

Ember Data and Ember Cli Mirage Presentation - meetup

This repo consists of a PPT presentation A server side code for REST points called myserver And a client side code called myclient

An additional folder called ember-mirage is an Ember Application using direct JS API Calls. [Not part of the presentation - but only to help and explore iTunes API]

How to run the code.

  1. Start the REST server

    • This is a node server.
    • cd to myserver
    • execute command inside of terminal> npm install
    • to run the server command> node server.js
  2. Start the ember app

    • cd to myclient
    • execute command> npm install
    • execute command> bower install
    • run ember command> ember s
  3. To switch between the REST server and Ember Mirage

    if (environment === 'development') { // ENV.APP.LOG_RESOLVER = true; // ENV.APP.LOG_ACTIVE_GENERATION = true; // ENV.APP.LOG_TRANSITIONS = true; // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; // ENV.APP.LOG_VIEW_LOOKUPS = true;

    ENV['ember-cli-mirage'] = { enabled: false }; }

    And flip the enabled: false under ember-cli-mirage to true to bring up the FAKE SERVER instead of the node server. ...and vis-a-vis to false if you DO NOT WANT fake server, but instead hit the actual server

ember-data-mirage-presentation's People

Contributors

vasleo 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.