-
clone the repository using
git clone https://github.com/JOHN-MAINA/Product-Catalogue-Client.git
-
install dependencies
npm install
-
Configure api base url in /src/app/config/env.ts
SERVER_URL: 'http://localhost:3001/'
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 build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
or ng test --code-coverage
to generate a code coverage report while running tests