Discover the wonders of MicroBlog-Hub, your go-to microservices-based blog application showcasing a modular architecture. With four services—Posts, Comments, Query, and Moderation—working together seamlessly, MicroBlog-Hub demonstrates the principles of scalability and modularity in a compact, educational package.
- Modular Microservices: Posts, Comments, Query, and Moderation—working together seamlessly.
- Asynchronous Events: Utilizes an Event Bus for efficient asynchronous communication.
- User-Friendly Interface: Simplifies the blogging process, ensuring a seamless experience for users.
- Pending Comment Moderation: Comments start in a pending state, awaiting moderation.
- NodeJS
- Express
- React
- Axios
- Concurrently
-
Microservices:
- Run individual services with
npm start
in their respective directories.
- Run individual services with
-
Client:
- Start the client-side application with
npm run start:client
.
- Start the client-side application with
-
Asynchronous Events:
- The Event Bus handles asynchronous events for microservices communication.
-
Concurrent Start (Optional):
-
Alternatively, you can use the
start:all
script to start all services concurrently:npm run start:all
-
This script includes:
- Starting the event bus.
- Waiting for 5 seconds (assuming to allow the event bus to initialize, adjust as needed).
- Starting other microservices and the client.
-
Feel free to explore and contribute to the MicroBlog-Hub project. If you have any questions or feedback, let's build an amazing microservices community together! 🚀📚