Website Part of the University Project 2 Trouvaille-Deliveries
All services are injected via Interface (=abstract class), and must be declared in the proper environment NameGuide
-
Interface: SomethingMaker
-
Production: SomethingMakerService
-
Mock: SomethingMakerMock
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 serve -c prod
for a dev server in production mod. Navigate to http://localhost:4200/
.
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
.
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.