A fictional e-commerce site where users can browse Merlin's magical product catalog, manage their shopping cart, and complete checkout — supported by a set of microservices.
- Browse, filter and search product catalog
- View product details pages, including product stock and returns policy
- Add and remove products from shopping cart
- Control the amount of each product in the shopping cart
- View cart summary and proceed to checkout
- Provide billing and shipping details, including order subtotal/tax/total and input discount code
- Receive order confirmation and automatically update product stock based on order contents
Frontend
- React (JSX-based components)
- Tailwind CSS
- Axios
- React Router DOM
Backend Gateway (Node.js)
- Express.js
- ZeroMQ
- CORS
Microservices
- 3 microservices written in Python, using ZeroMQ for communication, including:
- Read and update product stock
- Read product returns policies
- Provide discount code validation
- 1 microservice written in JavaScript, using HTTP fetch pattern, including:
- Order tax calculation
cd frontend
npm install react react-dom react-router-dom tailwindcss axios
npm run previewcd backend
npm install cors express zeromq
npm run startcd microservice-a
git clone https://github.com/Joanna324/tax-rate-microservice.git
cd tax-rate-microservice
node index.js
NOTE: Update index.js PORT to 40699 before starting upcd microservice-b
python3 server.pycd microservice-c
python3 server.pycd microservice-d
python3 server.py- Main Project: Colin Sonnenberg (github.com/sonnenco)
- Microservice A: Joanna Faulk (github.com/joanna324)