This repo uses Angular 2 Beta 3.
Before getting started you will need the following things:
- MongoDB
- Node.js / NPM
- An Auth0 account (they're free)
I assume if you've found your way here you at least have the first two already taken care of.
Go to Auth0 and create a new application
The information you need can be found under the "Settings" tab after you create a new app - it will look like this:
Add your Auth0 account information to the following files:
- secret = Client Secret
- audience = Client ID
- On the "lock = new Auth0Lock" line, add your 'Client ID' and 'Domain'
Install the dependencies:
$ npm install
Compile the TypeScript into JavaScript and create the bundle:
$ npm run build
In separate terminal windows, run the mongo daemon, start the Express server, and start the webpack-dev-server:
$ mongod
$ npm run serve
$ npm start
Navigate to http://localhost:3000/
Do you want to help? That would be great - this is still a work in progress. Check out the issues, there are definitely some things that I haven't figured out yet. Pull requests are welcome and encouraged.
This project owes a ton to Ajden Towfeek, please check out his YouTube channel for some of the best instructional videos on Angular 2 that I have found: