This project is built on Node.js
, TypeScript
, Express.js
. It utilizes jest
and supertest
for unit testing.
Business logics can be found in src/app.ts
.
The URL list is hard coded as provided.
After starting the development server, access these links to test the API:
- http://localhost:3000/reachable-url
- http://localhost:3000/reachable-url?priority=3
- http://localhost:3000/reachable-url?priority=4
npm install
npm start
npm run build
npm run serve
npm run test