This repository contains an E-commerce APIs, serving as backend for an E-commerce frontend application, It powers the functionalities for the frontend, such as storing, retrieving, deleting data and much more.
List of endpoints exposed by the service
logger.error('This is an error message');
logger.warn('This is a warning message');
logger.info('This is an informational message');
logger.debug('This is a debug message');
git clone https://github.com/atlp-rwanda/knights-ecomm-be.git
cd knights-ecomm-be
npm install
npm run dev
npm test
Download and install docker
https://www.docker.com/products/docker-desktop/
Download Subsystem for Linux for none linux users
Set environment varibles like database host to postgresdb
Building the image, you must navigate to the project directory in the terminal, then run
docker-compose up --build
Stoping docker-compose container, run
docker-compose down