-
clone the project
-
go to project directory and execute following commands:
npm install && npm run dev
- code base is in
typescript
so we've to compile usingtsc
- and finally run project using
node dist/app.js
ornpm run dev
POST
http://localhost:3000/download
- in request body send {"videoUrl" : "https://www.youtube.com/watch?v=YOUR_VIDEO_ID"}
POST
http://localhost:3000/shorts-music
- in request body send {"videoUrl" : "https://www.youtube.com/shorts/YOUR_SHORTS_VIDEO_ID"}