Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.29 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.29 KB

🌐 Client Gateway

NestJS Logo

The Client Gateway acts as the communication point between clients and our services. It is responsible for receiving requests, forwarding them to the appropriate services, and returning the responses to the client.

🚀 Development Setup

  1. 📥 Clone the repository:

    git clone https://github.com/YourUsername/client-gateway
    cd client-gateway
  2. 📦 Install dependencies:

    npm install
  3. 🔧 Set up environment variables: Create a .env file based on the provided .env.template:

    cp .env.template .env

    Edit the .env file to add the required environment variables.

  4. 🔄 Start the microservices to be consumed: Make sure the microservices that the gateway will consume are up and running.

  5. 🛠️ Start the application in development mode:

    npm run start:dev

📚 Documentation

  • For more details about the gateway's functionality and usage, refer to the docs folder or any API documentation provided.
  • Learn more about NestJS at nestjs.com.

Nats

docker run -d --name nats-server -p 4222:4222 -p 8222:8222 nats