Skip to content

PacMM79/S7--StarWars

Repository files navigation

Star Wars - Sprint 7

This project was generated with Angular CLI version 18.0.1.

Aquest lliurament està basat en una prova tècnica d'una gran empresa del sector e-commerce, que busca desenvolupadors/es front-end en la ciutat de Barcelona. La prova tècnica consisteix a: consumir les dades d'una API, mostrar-les en una pantalla a través d'un llistat i mostrar el detall de cada ítem del llistat.

Coneixements previs:

Seguir un exemple d’una bona arquitectura com per exemple: -> Angular 15/16 Free Course #1 - Create Base Project Structure POSTMAN per consumir APIs Gestió de Guard per protegir rutes Routing Serveis Token de tipus JWT

Instal.lació

  • Clona el repositori.
$ git clone https://github.com/PacMM79/S7--StarWars.git

  • Executa npm i per instal.lar totes les dependencies.
npm i
  
  • Executa ng serve per construir el projecte de Angular e iniciar el servidor localment.
ng serve
  
  • Executa npx json-server-auth db.json per iniciar el backend.
npx json-server-auth db.json
  

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application 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.

Tecnologies usades

angular bootstrap html5 css3 sass typescript javascript nodejs vscode

Captura de pantalla

Star-Wars-S7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published