TrouivalleWebsite

Website Part of the University Project 2 Trouvaille-Deliveries

Inversion Of Control Container

All services are injected via Interface (=abstract class), and must be declared in the proper environment NameGuide

  • Interface: SomethingMaker

  • Production: SomethingMakerService

  • Mock: SomethingMakerMock

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.

Development server in Prod Mod

Run ng serve -c prod for a dev server in production mod. Navigate to http://localhost:4200/.

Code scaffolding

Run ng g c <component-name> to generate a new component. You can also use ng g 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.