Giter Site home page Giter Site logo

hanss / stormpath-spa-dev-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stormpath/stormpath-spa-dev-server

0.0 2.0 0.0 14 KB

Stormpath development server that provides your SPA app with a Stormpath integrated back-end.

License: Apache License 2.0

JavaScript 100.00%

stormpath-spa-dev-server's Introduction

Stormpath SPA Development Server

NPM Version NPM Downloads

Stormpath development server that provides your SPA app with a Stormpath integrated back-end.

Front-end applications can not communicate with the Stormpath API directly, and thus need an integrated back-end. Before your back-end has been integrated, use this development server when integrating Stormpath with your front-end app, using for example the AngularJS SDK.

Install

  1. Make sure you have Node.js installed
  2. Install the server
$ npm install -g stormpath-spa-dev-server
  1. Download a key file from the Stormpath Console
  2. Open it and grab the API Key ID and API Key Secret, then run these commands to configure the server with your credentials:
$ export STORMPATH_CLIENT_APIKEY_ID=<YOUR-ID-HERE>
$ export STORMPATH_CLIENT_APIKEY_SECRET=<YOUR-SECRET-HERE>
  1. Login to the Stormpath Console and grab the href (called REST URL in the UI) of your Application
  2. Run this command with your App Href:
$ export STORMPATH_APPLICATION_HREF=<YOUR-APP-HREF>

Usage

  1. Start the server
$ stormpath-spa-dev-server <path-to-your-spa-app>

Example:

$ stormpath-spa-dev-server /home/joe/dev/my-app/
  1. It's now listening at http://localhost:3000/ and ready to use with your front-end app

Help

Contact us via email at [email protected] or visit our support center. You can also see the Stormpath documentation for more information.

License

Apache 2.0, see LICENSE.

stormpath-spa-dev-server's People

Contributors

timothyej avatar greenkeeperio-bot avatar robertjd avatar

Watchers

Hans Schenker avatar James Cloos 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.