Skip to content

irfanonk/node-microservices

Repository files navigation

Project Setup with Docker Compose

This project uses Docker Compose to set up the following services: PostgreSQL, PGAdmin, PostgREST, API Gateway, Auth Service, GraphQL Service, and a React frontend.

Services

  • PostgreSQL: Database service running PostgreSQL. It creates postgres-data inside your roo directory to persist data

  • PGAdmin: Web interface for managing PostgreSQL.

  • API Gateway: Routes requests to backend services (PostgREST, GraphQL, Express). Includes hot reload.

  • PostgREST: PostgREST provides a RESTful API interface to a PostgreSQL database. It allows direct access to your database through HTTP using the database's schema and roles.

  • Auth Service: Handles user authentication and JWT token management.

  • GraphQL Service: Exposes GraphQL API. Includes hot reload

  • Frontend: React frontend that interacts with the API Gateway. Includes hot reload

Running the Project

To build and start all services, use:

docker-compose up --build

stop and remove containers

docker-compose down -v

About

nodejs microservices with postgres, postgrest, pgadmin, gateway, graphql, frontend services

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors