Experiment to migrate the AngularJS tutorial project to latest Angular.
The following steps have been taken to migrate the project:
- Migrate to Webpack & TypeScript
- Export AngularJS modules
- Bootstrap Angular application
- Migrate to Angular CLI
Do the following to run the project on your own computer:
- Run
npm install
to install the dependencies - Run
npm start
to start the development server
Do the following to build the project on your own computer:
- Run
npm install
to install the dependencies - Run
npm run build
to build the application
Do the following to run the test suite:
- Run
npm install
to install the dependencies - Run
npm test
to run the test suite
Resources gathered during this experiment (in no particular order):
- https://docs.angularjs.org/tutorial/step_00
- https://angular.io/guide/upgrade
- https://medium.com/@UpgradingAJS/baby-steps-to-webpack-for-ngupgrade-535265194852
- https://vsavkin.com/migrating-angular-1-applications-to-angular-2-in-5-simple-steps-40621800a25b
- https://www.digitalocean.com/community/tutorials/how-to-upgrade-from-angularjs-to-angular-with-ngupgrade
- https://www.digitalocean.com/community/tutorials/migrate-your-angularjs-services-to-angular-with-ngupgrade
- https://joelbinn.gitbooks.io/hybrid-angular-angularjs-application-with-angular/content/ch1-making-the-hybrid.html
- https://itnext.io/angular-unit-testing-101-c3492ba17e9