Skip to content

Sourav-kashyap/Microservices-Architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Architecture

This repository contains a set of microservices designed to demonstrate the use of microservice architecture. Each service is self-contained and can be developed, deployed, and scaled independently. The architecture follows common best practices for building microservices-based applications.

Project Overview

The project includes the following services:

  • API Gateway: Serves as the entry point for all requests and handles routing, load balancing, and security for the microservices.

  • Book Service: Handles book-related data and operations.

  • Author Service: Manages author-related data and operations.

  • Category Service: Manages categories related to books and authors.

  • User Service: Manages user-related data and authentication.

Technologies Used

Loopback4 (TypeScript)

API Gateway for routing

JWT Authentication and Authorization for user management,

MySQL for data storage

Running the Project

  • To run the project locally, follow these steps:

Clone the repository:

Install dependencies for each service:

  • Navigate to each service folder (e.g., author-services, book-services, etc.) and install dependencies:

  • npm install

Run the Services:

Check Everything is Running:

Troubleshooting:

  • If you face issues with the services, check the console logs for any missing dependencies or errors.

  • Ensure each service has its own port set correctly, and no two services are conflicting over the same port.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors