Giter VIP home page Giter VIP logo

ember-orchestrate's Introduction

ember-orchestrate's People

Contributors

bigmoves avatar ember-tomster avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ember-orchestrate's Issues

Better sort api

This is how sorting works currently:

var users = this.store.findQuery('user', { sort: 'value.firstName:asc,value.lastName:asc' });

Would be nice to make it more like:

var users = this.store.findQuery('user', { sort: 'firstName:asc lastName:asc' });
// or
var users = this.store.findQuery('user', { sort: [ { firstName: 'asc', lastName: 'asc'  } ] });

Exporting environment variable ORCHESTRATE_API_KEY

Chad, thanks for your work on this.

One question:

You will also need to set en environment variable with an api key provided from the Orchestrate.io dashboard.

export ORCHESTRATE_API_KEY=...

So what's the right way to do this with ember-cli? I searched around, there is some discussion on this by setting and importing config from '../config/environment' etc but seems hoakey, some are using node modules (Nodejs Dotenv project), but is that really necessary? I'm new to ember-cli but I'd like to say with the ember 'doctrine' if you have a method you would share.

Storing API keys in the client?

Hey, where does ember-orchestrate store your API key? In the readme, you set it like this...

// app/adapters/application.js
import OrchestrateAdapter from 'ember-orchestrate/adapter';

export default OrchestrateAdapter.extend({
  apiKey: 'Your api key'
});

...which leads me to believe it's stored in the client, but that's a major security vulnerability, so I want to make sure you're storing it elsewhere, securely.

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.