Built with Nestjs A progressive Node.js framework for building efficient and scalable server-side applications.
Product Catalog Service is a microservice within an e-commerce platform responsible for managing and searching products.
npm install
# Start Redis server
$ docker-compose up
# Run app
$ npm run start
# watch mode
$ npm run start:dev
# unit tests
$ npm run test
# build the image
$ docker build -t product-catalog-service .
# run the container
$ docker run -d -p 3000:3000 product-catalog-service
# Seed database
$ curl -X POST http://localhost:3000/seed
# search products
$ curl -X GET http://localhost:3000/products/search?query=
https://docs.google.com/document/d/1UHLIX171mBpmdZ7juD5ffikAr8c6QGU0-74WSouQ7C0/edit?usp=sharing