How coryrylan/ng-pokedex works
Project type and purpose
• This is a single‐page, Progressive Web App (PWA) built in Angular 12.0.2, called “NgPokedex.”
• Its purpose is to display a list of Pokémon and details for each. It uses a static JSON data file, supports offline mode via service worker, and is set up for Firebase hosting/deployment.
File structure
• Top-level config: angular.json, tsconfig.*, tslint.json, karma.conf.js, protractor config, firebase.json, .firebaserc, ngsw-config.json.
• src/ holds the entire front-end:
• src/app/ contains three feature modules—about, common, pokemon—plus AppRoutingModule and root AppComponent.
• src/app/common/services hosts data-fetching (pokemon-data.service.ts) and viewport utilities.
• src/api/pokemon.json is the static “backend” data source.
• src/assets/, src/environments/, styling under src/styles/, and PWA manifest/polyfills are present.
• e2e/ and test.ts / karma/protractor configs support automated tests.
README for additional insights
• Confirms Angular CLI usage, test commands, build output to dist/, and no separate backend.
• PWA support implicit via ngsw-config.json and manifest.webmanifest.