Task to implement extract audio metadata using nodejs & typescript.
- Clone repository into your local machine
git clone https://github.com/mohammad-quanit/audio-analysis.git
- Go to the directory by
cd audio-analysis
and runyarn install
to install dependencies. - This project is configured using typescript, and all scripts are available in
package.json
- After installing deps, run this project using the command
yarn start
and a web server will be up and running.
- a POST endpoint
http://localhost:3000/api/v1/file-upload
will be up after running the server. - You can use Postman or simply cURL to hit the endpoint. e.g
curl -X POST \
'http://localhost:3000/api/v1/file-upload' \
--form 'file=@/yourpath/sample.mp3'
{
"frameCount": 6089
}