Skip to content

johntom/aurelia-auth-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aureliauth-sample

Sample application using the aureliauth plugin. Uses a NodeJs backend with mongoDb.

Prerequisites

  1. NodeJs
  2. Jspm
  3. You need an running MongoDb server.
  4. Gulp

Convert to Materialize

  1. jspm install github:Dogfalo/materialize@0.97.0 added to config.js "Dogfalo/materialize": "github:Dogfalo/materialize@0.97.0",
  2. change animation-main import materialize from 'Dogfalo/materialize';
  3. comment out in app.js

//import 'bootstrap'; //import 'bootstrap/css/bootstrap.css!';

Todo

  1. Fix css classes
  2. Fix auth
  3. Change backend to sailsjs

How to run?

  1. cd client
  2. npm install
  3. jspm install
  4. update authConfig.js with your own clientIds
  5. cd ../server
  6. npm install
  7. create under /server/config a file called config.development.js and copy the content from config.production.js and update the security values. Change in config.development.js the nodejos port from 10000 to 5000
  8. cd ../client
  9. gulp watch
  10. Open an browser with http://localhost:4000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.0%
  • HTML 19.4%
  • CSS 3.6%