Skip to content

Aurelia skeleton-navigation with aurelia-orm and a loopback server

Notifications You must be signed in to change notification settings

doktordirk/aurelia-orm-loopback-sample

Repository files navigation

Aurelia-orm-loopback-sample

Join the chat at https://gitter.im/SpoonX/Dev

Aurelia client included as ES6-SystemJs, ES6-Webpack and Typescript-SystemJs versions

This is a skeleton for an Aurelia client using aurelia-orm for rest access to a Strongloop loopback api server.

The aurelia-orm documentantion you'll find at aurelia-orm.spoonx.org.

Installation instructions

For ES6-SystemJs and Typescript-SystemJs

For typescript, replace cd client below with cd client-ts.

git clone https://github.com/doktordirk/aurelia-orm-loopback-sample
cd aurelia-orm-loopback-sample
npm install
cd client
npm install
jspm install

To run the sample type in the client folder:

gulp watch

This builds the aurelia-client and serves the client and the api server. Browse to localhost:3000 to see it in action.

For ES6-Webpack

git clone https://github.com/doktordirk/aurelia-orm-loopback-sample
cd aurelia-orm-loopback-sample
npm install
cd client-wp
npm install

To run the sample open two shells:

  • run server in one console from the root folder with: node .
  • run client in the second console from the client-wp folder with: npm run dev

Browse to localhost:3000 to see it in action.

What's in it

Loopback server

A loopback api server. A local file is used as database. Have a peek at mydata.json to gain some insight.

The customer model with firstName and lastName properties.

Aurelia client

An aurelia client app using aurelia-orm for customer management (with default endpoint, repository and entity).

Support

  • Aurelia Gitter chat Join the chat at https://gitter.im/aurelia/discuss
  • Spoonx/Dev Gitter Chat for aurelia-api/-authentication/-orm/-notifications Join the chat at https://gitter.im/SpoonX/Dev
  • Loopback Gitter Chat Gitter

About

Aurelia skeleton-navigation with aurelia-orm and a loopback server

Resources

Stars

Watchers

Forks

Packages

No packages published