How wala25/chocolateshop works
Project type and purpose
• This is a Single-Page Application (SPA) built entirely with Angular (frontend only).
• Purpose: a “ChocolateShop” marketing/catalog site with pages for About Us, Case Studies, Products, Contact Us, plus shared Header/Footer.
File structure
• Top-level config: angular.json, tsconfig*.json, package.json, karma.conf.js → build/test settings
• src/app → Angular components and routing
• app.module.ts, app-routing.module.ts → root Angular module and router
• Components: header, footer, about-us (+ casestudies), products, contact-us
• src/environments → per-environment API URLs or flags
• docs/ → generated static output (built artifacts)
Key architectural insights from README
• Uses Angular CLI v14
• Standard Angular dev/build/test commands (ng serve, ng build, ng test, ng e2e)
Detail
• SCSS and assets folder feeding into the styles layer
• Environment files (environment.ts/environment.prod.ts) as configuration sources