Skip to content

yazansedih/Bazar.com

Repository files navigation



GitHub repo size GitHub repo file count (file type) NPM Version GitHub last commit (branch) GitHub issues GitHub contributors GitHub All Releases

Bazar.com: A Multi-tier Online Book Store

This project aims to implement Bazar.com, the world's smallest book store, with a two-tier web design employing microservices. The front-end tier accepts user requests, while the back-end consists of a catalog server and an order server. This README will guide you through setting up and testing the system.

Project Structure

The project consists of three main components:

  1. Frontend: Handles user requests and communicates with backend services.
  2. Catalog Server: Manages the catalog of books and supports queries and updates.
  3. Order Server: Handles purchase requests and updates stock accordingly.

Each component is implemented as a microservice and communicates with others via HTTP REST calls.

Prerequisites

Before running the project, ensure you have the following installed:

  • Docker
  • Docker Compose
  • Node.js (for local development)

Setup and Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/yazansedih/Bazar.com.git
  2. Navigate to the project directory:

    cd Bazar.com
  3. Build the Docker images and start the containers:

    docker-compose up --build
  4. The system should now be running on Docker containers. You can access the frontend at http://localhost:8082.

Technologies Used

  • Node.js: Backend development platform.
  • Postman: API building, testing and documentation tool.
  • Git: Version control system.
  • Axios: making and managing HTTP requests.

API Documentation

The API is fully documented using Postman. Access the documentation here.

Testing

Postman Testing Strategy

We have employed Postman for comprehensive API testing to ensure the functionality, reliability, and accuracy of the Bazar.com.

Demo

Click on the following link to watch the testing demo video.

Vision

Bazar.com lab2 coming soon...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published