This project was developed for PSL Company Test. It request and show pokemons from pokeapi.co API.
Daniel Correa Barrios
Universidad del Valle
https://danielcb29.github.io/Pokemon-Cli/
This project implements 6 components:
- App Component: Main component
- Header Component: Header of the web site, banner, menu , title
- Pokemon Component: Control pokemons requests and visualization
- Footer Component: Footer of the web site.
- AboutMe Component: Information about Daniel
- NotFound Component: Control otherwise url and 404 endpoints
1 Service:
- Pokemon Service: Make pokemons requests and format image urls
1 Pipe:
- Capitalize Pipe: Capitalize the first letter of text. Is used to capitalize pokemons name.
Routing: Control navigation in web site.
- Angular JS 2.0
- Bootstrap 3.3.3
This project was generated with angular-cli version 1.0.0-beta.21.
- Install npm dependencies runing
npm install
. - Install angular-cli
npm install -g angular-cli
- Run
ng serve
ornpm start
for a dev server. - Navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class
.
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.
Before running the tests make sure you are serving the app via ng serve
.
Run ng github-pages:deploy
to deploy to Github Pages.
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.