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.
-
📥 Clone the repository:
git clone https://github.com/YourUsername/client-gateway cd client-gateway
-
📦 Install dependencies:
npm install
-
🔧 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. -
🔄 Start the microservices to be consumed: Make sure the microservices that the gateway will consume are up and running.
-
🛠️ Start the application in development mode:
npm run start:dev
- 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.
docker run -d --name nats-server -p 4222:4222 -p 8222:8222 nats