/HeroesAppAngular

App to get to know more about your favourite DC and Marvel Heroes developed with Angular+ TS + Angular Material + Angular Flex-Layout + Animate.css.

Primary LanguageTypeScript

Main Screen of Heroes App Angular

Can I try this web app? 😮

Yes. If you want to check it, you need to:

  1. Download the project and install Node.js (https://nodejs.org/es/). After that, with the command npm install (https://docs.npmjs.com/cli/v7/commands/npm-install), you will install all the node_modules needed for the app to work.
  2. Download the no-SQL DB for this project. You can download it from here (https://github.com/SergioGordillo/HeroesAppAngularDB).
  3. Ok. So, open with your favourite IDE both projects (HeroesAppAngular and HeroesAppAngularDB).
  4. HeroesAppAngularDB will run with the command json-server --watch db.json (https://www.npmjs.com/package/json-server).
  5. HeroesAppAngular will run with the command ng serve -o.

So, enjoy the app 😀

What can you do with this web app? 🤔

You can:

🦸 Check a list of superheroes from your DB.
🦸‍♂️ Add, update and delete a hero from the DB.
👀 Looking for a superhero with our search engine.

Which technologies did I use to develop this app? 🤔

It is a web app made with Angular 12 + TypeScript + Angular Material + Angular Flex-Layout + Animate.css
I used Angular-CLI to create my Angular App.

Which is the purpose of this web app? 🤔

It is a web app I made based on Fernando Herrera Angular course 🧐. I havent made barely changes compared to the project that Fernando Herrera made on the course, but just because I want to learn and adquire the Angular knowledge 🤓. I know the styles are very basic, but I just focused on Angular stuff. I learnt with this project about:

❤️ Good practices about making reusable components in Angular.
❤️ Good practices about Angular folder structure.
❤️ Using Router Module and RouterLink.
❤️ Using children routes.
❤️ Implementation of Lazy Load.
❤️ Working with services.
❤️ Using Quicktype to generate interfaces.
❤️ Customized pipes.
❤️ How to do clean http requests.
❤️ Creation of a basic login system.
❤️ Use of CanActivate and CanLoad guards.
❤️ Use of LocalStorage
😮 Using JSON Server to work with a non-SQL DB directly from the frontend side.
💙 TypeScript.
🎨 Angular Material.
🎨 Angular Flex-Layout.

HeroesAppAngular

This project was generated with Angular CLI version 12.0.3.

Development server

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.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.