This project is a small and simple UI for the Simple Store Backend. It is made using Angular and allows the user to manage products, carts and orders.
- Angular
- git
git clone https://github.com/darwin-s/simple-store
Here is a short guide on how to run this project on your pc:
- NodeJS
- Angular CLI
- A running instance of the backend
If you are running the backend on another PC, or on a different port, you will have to edit the src/environment/environment.development.ts
file to point it to your backend instance. You should change apiUrl to match the URL the root of your backend.
If running the backend with default parameters on the same PC, you don't have to do this
Inside the root directory of the project run
ng serve.
This command starts the UI with the dev profile active
The UI will start by default on http://localhost:4200/. Just access this URL
in your browser.
- In order to run the unit tests use
ng test

