An example line of business app written in Angular2 with TypeScript.
- Auth0 integation
- Server with simple REST API using backend Json data files
- Data Repository pattern using interfaces with generics
- Bootstrap styling
- Unit tests using Karma, Jasmine and PhantomJS
- e2e tests using Protractor
- Web REST api tests using ts-node, child-process and Jasmine
- Continuous integration with Travis
- Bundling and AOT with WebPack
- TypeScript with TSLint and Typings
- WallabyJS
This project was generated with Angular CLI version 1.0.0.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ts-node src/server/server.ts for the API server. Navigate to `http://localhost:4201/films'.
To test, run jasmine src/server/server.spec.js.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Run npm test.