The Uber of Widgets.
The company sells different types of Widgets.
- Widget Prime
- Widget Elite
- Widget Extreme Edition
Each widget can have a size and a color and NOT all Widgets are available in all sizes and colors.
Classify the Widgets by types and styles and shows the number of available products.
You can create orders and make purchases without authentication.
- A customer should be able to browse Widgets.
- A customer should be able to select a size or finish.
- A customer should be able to add a Widget to their order.
- A customer should be able to view their order.
- Create a datastore that allows for the storing of inventory and orders
- Implement an API that supports the frontend
You can setup and install the whole project services (backend, frontend and database) by running one docker-compose command.
Install docker
and docker-compose
in your machine.
-
Clone the project in your local machine.
$ git clone git@github.com:panduroab/widget-store.git $ cd widget-store
-
Be sure that you have the ports
8080
,8888
,27017
and8081
availables in your machine. Also you can modify this ports in thedocker-compose.yml
file.Run docker-compose. This command will install the docker images and build the containers.
$ docker-compose up -d && docker-compose logs -f
-
When the installation and build process is completed go to your browser at http://localhost:8080. You should see the widgets in the store.