This microservice handles addition of problems and testcases along with solutions for algocode platform.
To set up the project on your local machine do the following steps:
- Clone the project
git clone https://github.com/singhsanket143/AlgoCode-Problem-Service.git
- Go inside the downloaded folder and install node modules
cd AlgoCode-Problem-Service && npm install
- Create a new .env file in the root directory and set the following env variables
PORT=3000
- Start the backend server
npm run dev
- /api/v1/problems/ping
- because the route starts with /api /api -> /v1 -> /problems -> /ping apiRouter -> v1Router -> problemRouter -> problemController -> service layer