Simple YouTube music streaming API for Music Boom app.
GET /api/search?q=song+name
Returns top 10 YouTube videos matching the query.
GET /api/stream?videoId=VIDEO_ID
Returns video details and direct audio stream URL.
- Create a new GitHub repository
- Push this
backendfolder to the repo - Go to vercel.com
- Click "New Project"
- Import your GitHub repository
- Deploy!
Your API will be available at: https://your-project.vercel.app
npm install
vercel devThen test: