Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧙‍♂️ Microservices Project

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.


📸 Screenshots

Home

Image

Product catalog

Image

Product details

Image

Cart summary

Image

Checkout

Image

🔍 Features

  • 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

📦 Technologies Used

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

🛠️ Installation

Frontend

cd frontend
npm install react react-dom react-router-dom tailwindcss axios
npm run preview

Backend

cd backend
npm install cors express zeromq
npm run start

Microservice A

cd 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 up

Microservice B

cd microservice-b
python3 server.py

Microservice C

cd microservice-c
python3 server.py

Microservice D

cd microservice-d
python3 server.py

👥 Authors

  • Main Project: Colin Sonnenberg (github.com/sonnenco)
  • Microservice A: Joanna Faulk (github.com/joanna324)

About

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages