NestJS File Streaming With MongoDB
range
header to support partial downloadsFastify Adapter
for performanceMongoose
to connect to MongoDBMongoDB GridFS
for streaming chunked files to and from Mongo DBfastify-multipart
to parse Multipart formsdocker-compose up -d
http://localhost:3101/api/
npm start
to compile and start the serverhttp://localhost:3101/api/
POST
to http://localhost:3101/
as multipart/form-data with file
fieldGET
to http://localhost:3101/<id>
GET
to http://localhost:3101
for list of uploaded videos