singhsanket143 / AlgoCode-Problem-Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algocode Problem Setting service

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:

  1. Clone the project
git clone https://github.com/singhsanket143/AlgoCode-Problem-Service.git
  1. Go inside the downloaded folder and install node modules
cd AlgoCode-Problem-Service && npm install
  1. Create a new .env file in the root directory and set the following env variables
PORT=3000
  1. Start the backend server
npm run dev

How routing is working in the project

  • /api/v1/problems/ping
    • because the route starts with /api /api -> /v1 -> /problems -> /ping apiRouter -> v1Router -> problemRouter -> problemController -> service layer

About


Languages

Language:JavaScript 100.0%