E-Commerce Microservices Backend with GraphQL Gateway
Build a small e-commerce backend split into products, orders, and users microservices, unified behind a GraphQL gateway that composes their schemas. Learners practice TypeScript across service boundaries with shared typed contracts, GraphQL schema federation, and inter-service communication.
- Estimate
- ~14.5h
- Steps
- 6
- Completed by
- 0
- Proposed by
- codeseed.app
Apollo Federation · GraphQL · Express · Docker
Project roadmap
- 01
Build the products subgraph
~2.5hImplement a standalone products microservice exposing a GraphQL subgraph.
- 02
Build the orders and users subgraphs
~3hImplement orders and users microservices, each with their own GraphQL subgraph.
- 03
Set up the Apollo Federation gateway
~2.5hCompose the three subgraphs behind a single Apollo Federation gateway.
- 04
Implement cross-service resolvers
~2.5hImplement federated resolvers so an order can reference its product and user across services.
- 05
Containerize with Docker Compose
~2hPackage all services and the gateway with a Docker Compose setup.
- 06
Write end-to-end tests
~2hWrite tests that query the composed gateway across service boundaries.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack