An open API service indexing awesome lists of open source software.

https://github.com/christophercr/todos-ts

Demo app for AngularJS training using Typescript and Webpack
https://github.com/christophercr/todos-ts

Last synced: 3 months ago
JSON representation

Demo app for AngularJS training using Typescript and Webpack

Awesome Lists containing this project

README

          

# todos-ts

## About
Demo app for AngularJS training using Typescript and Webpack
* [AngularJS](https://github.com/angular/angular.js)
* of course ;)
* [TypeScript](http://www.typescriptlang.org/)
* the future of JavaScript available now
* [TSLint](https://www.npmjs.com/package/tslint)
* linter for TypeScript (checks code quality/style)
* [Typings](https://github.com/typings/typings)
* manage TypeScript type definitions
* [TSDoc](https://www.npmjs.com/package/tsdoc)
* generate API documentation
* [FakeRest](https://github.com/marmelab/FakeRest/)
* fake rest API server
* [Karma](http://karma-runner.github.io/)
* unit test runner
* [Jasmine](http://jasmine.github.io/)
* bdd unit testing library
* [Webpack](http://https://webpack.github.io//)
* module bundler & loader

This project has been adapted from the AngularJS TodoMVC example for learning purposes: https://github.com/tastejs/todomvc/tree/master/examples/angularjs

## Installation
First of all, make sure that you have installed NodeJS & npm: https://nodejs.org/en

Then you can get this project in 2 ways:
* clone this repository: `git clone https://github.com/christophercr/todos-ts.git`
* download a zip: https://github.com/christophercr/todos-ts/archive/master.zip

Now you can download all the necessary dependencies using the setup script: `npm install`.

## Main Scripts
* `npm run test`: run unit tests with Karma
* `npm run server`: start the Webpack development server
* `npm run lint`: check typescript code quality/style
* `npm run tsc`: compile typescript files into javascript
* `npm run typings-install`: install typings defined in typings.json file

## License
This project and all associated source code is licensed under the terms of the [MIT License](https://en.wikipedia.org/wiki/MIT_License).