This project was generated with Angular CLI version 9.0.3.
It is a simple application enabling a user to browse some baby clothes and purchase them in case authenticated, and lets an administrator to manage those products that the store sells.
- For Backend: Laravel (v6.16.0)
- For Frontend: Angular (v9.0.3)
PS: In this project we are gonna cover only the frontend part.
- Administrator
- SignIn
- LogOut
- Browse the products
- Create/Edit/Delete a Product
- User
- SignIn
- LogOut
- View details
- Purchase a product
- Browse the products
- Anonymous
- Browse the products
First of all be sure that Angular (preferably the latest version) and Nodejs are installed to use npm and run the angular app.
If you did that, continue with the next instructions:
-
Clone the project or download the zip file from github repo.
-
Open a terminal inside the downloaded project
-
Run the following command:
npm install
-
Now you can proceed to the next section: How to run the application
To run the app
Run ng serve
and wait for the server to start. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
To run unit tests
Run ng test
to execute the unit tests via Karma.
To run end to end tests
Run ng e2e
to execute the end-to-end tests via Protractor.