The GuildRunner web application is a sandbox project for learning how to build Angular 2 web applications through research and experimentation. Blog posts concerning the evolution of the project can be found at http://www.thoughtdelimited.org/thoughts
As of release 0.0.2, this application is built around Angular 2 release candidate 4 (RC4) and Angular CLI version beta.10. So it does not utilize Webpack as its module loader (it uses SystemJS), nor does it use the @ngModule decorator introduced in Angular 2 RC5.
To download and execute this web application on your own system, perform the following steps:
-
Install node.js on your system if you don't already have it.
-
Perform a global install the latest version of Angular CLI that uses SystemJS as its module loader.
- The current version of Angular CLI still uses SystemJS, so you can perform the install with the following command: npm install -g angular-cli.
- In the near future, Angular CLI will use Webpack as its module loader, at which point you would need to install the last SystemJS version rather than the current CLI version.
-
Download the repo to a project folder on your system.
-
Open a terminal/command prompt in the project folder and execute the following commands:
- npm install to download and install the necessary node modules (this will take at least a few minutes)
- ng serve, which will create a "dist" folder in the project and will serve the application
- Added Bootstrap navigation bar
- Added routing
- Created guild, address, and member data and domain classes
- Created "sandbox" area of application to hold experimental/diagnostic features
- Created guild master list component to display data from instances of the Guild domain class
- Basic application foundation established.
- Added in-memory web API to application to make use of mock data.
- Created "db" folder to hold mock data exports.