This service is responsible for publishing messages to which a specific microservice is subscribed.
- Receive requests
- Publish messages
- Clone this repository
git clone https://github.com/S-Sergio-A/public-api.git - Navigate to the root directory and add the
.envfile with your database and microservice data:
MONGO_USERNAME
MONGO_PASSWORD
MONGO_CLUSTER_URL
MONGO_DATABASE_NAME
REDIS_DB_NAME
REDIS_PASSWORD
REDIS_ENDPOINT
REDIS_PORT
JWT_SECRET
CLIENTS_JWT_SECRET
JWT_REFRESH_SECRET
JWT_EXPIRATION_TIME
JWT_REFRESH_EXPIRATION_TIME
PORT
FRONT_URL
- Install dependencies
npm installnpm start:devnpm build
npm start:prodThis project uses the following license.