This repository holds the supercool app to manage superheroes!!!
- Node.js and npm are essential to Angular 2 development.
- Install nvm for managing multiple versions of node and npm.
First thing, obviously, clone this repo. Then:
- Go to project root.
- Make sure Node v6.5.0 is installed with nvm:
nvm install. - Type
nvm useto select the Node v6.5.0.- NOTE: It must be typed as first command each time you open a new shell to work with the app
- Run
npm install -g yarnto install Yarn dependency manager. - Run
yarn installto download all needed dependencies. - Copy the
.env.environment.distinto.env.developmentto create the development environment.- Use the
.distdraft to specify the variables. You need, at least, to specify theAPI_URL.
- Use the
- Run
npm startto start the development built-in server. - Go to http://localhost:8080.
- Popping champagne??? :)
- Webpack - The tool used to bundle the app.
- TypeScript - The main superset environment to write javascript.
- Angular2 - Web framework we use.
- RxJS - The bundled library to manager async code.
- LoDash - The utility library for javascript.
- LearnRxJS - A gitbook for RxJS.