Yes. If you want to check it, you need to:
- 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. - Download the no-SQL DB for this project. You can download it from here (https://github.com/SergioGordillo/HeroesAppAngularDB).
- Ok. So, open with your favourite IDE both projects (HeroesAppAngular and HeroesAppAngularDB).
- HeroesAppAngularDB will run with the command
json-server --watch db.json
(https://www.npmjs.com/package/json-server). - HeroesAppAngular will run with the command
ng serve -o
.
So, enjoy the 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.
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.
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.
This project was generated with Angular CLI version 12.0.3.
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.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.