wanted. And with absolutely no knowledge about your project, how can we even give sensible suggestions?
i am sorry for that, i forgot to include that part, i need suggestions for few of the best practices to build a full stack project especially when using mern stack and typescript like security and scaling the project
For security best practices check out the OWASP Cheat Sheets
Thank you for your response. I have another question regarding the uploading of large files in Node.js Express. When uploading files larger than 1GB, how can I handle it without keeping the user waiting? I need to implement a video uploading system similar to YouTube, where users can upload a file, monitor the progress of the upload, and also upload the next file. I've searched extensively, but I haven't found a clear idea of how to implement this feature. I'm using AWS S3 to store the files. Can I use SQS and Lambda functions to manage this, as I explained? If anyone can suggest an approach or share any materials, it would be greatly appreciated
From the frontend side, that's quite simple, XMLHttpRequest API's will give progress callbacks that can be used to update a progress bar, and on the server you just want to stream the request into your storage backend, so you're not buffering up 1GiB in memory
This gives the technical details. How you use that is your choice
Обсуждают сегодня