A microservices ecommerce using Node Js, Express Js, PostgreSQL, Docker, and RabbitMQ
this microservice is currently extended with the following requirements.
Instructions on how to use them in your own application are linked below.
Requirement | Version |
---|---|
Node JS | 20.10.0 |
PostgreSQL | 14.10.x |
Make sure the requirements above already install on your system.
Clone the project to your directory and install the dependencies.
$ git clone https://github.com/wisnuuakbr/ecommerce-microservice
$ cd ecommerce-microservice
$ npm install
Copy the .env.example on every services and rename it to .env
Change the config for your server
DB_USER = your_username
DB_HOST = your_host
DB_DATABASE = your_database
DB_PASSWORD = your_password
DB_PORT = your_port
JWT_SECRET = your_secret_key
this will run server with nodemon enabled
$ npm run start