This Project is developed for Kraftbase as a task. Use Without any information violates policy.
Before you begin, we recommend you read about the basic building blocks that assemble this website:
Make sure you have installed all of the following prerequisites on your development machine:
- Git - Download & Install Git typically have this already installed.
- VS Code - Download & Install VS Code, one of the most popular code - editor developed by Microsoft.
- Nodejs, MongoDB, Express, Kafka, Docker, Redis, Discord, Prometheus, Grafana
Once you've downloaded the boilerplate and installed all the prerequisites, you're just a few steps away from starting to run the website
- Clone the repo in which you must work in your system.
- Create or do your work in another branch with a relevant name.
- After completing your work, commit your changes and push them.
- Create a pull request (PR).
- Navigate to service folder
cd DeliveryAgent
- Installing dependencies:
npm install
- setup the .env file as given .env.example:
mkdir .env
- Start the development server:
npm run dev
- Start the production server:
npm start
- Navigate to service folder
cd DeliveryAgent
- setup the .env file as given .env.example:
mkdir .env
- Build Docker image
docker build -t <image_name> .
- Build Docker image
docker run --publish 5500:5500 <app name>
- You can now hit the api endpoint.