Created on 27th January 2025
•
This Twitter Clone provides a seamless platform for users to express themselves by creating and sharing tweets, connecting with others through a follow system, and exploring profiles with optimized performance. It ensures secure authentication using Google OAuth and simplifies media sharing with scalable AWS S3 integration. By leveraging technologies like Redis and Prisma, it delivers a faster, safer, and more efficient social media experience.
One significant challenge I faced was uploading images to AWS S3. Initially, I encountered issues with incorrect bucket permissions and configuring the S3 SDK in Node.js. The images were either not uploading correctly or inaccessible after upload.
To resolve this, I carefully reviewed the bucket's permissions and ensured that the CORS policy allowed proper access. I also debugged the SDK configuration, verifying the AWS credentials and region settings. By updating the S3 bucket policies and using pre-signed URLs for secure uploads, I successfully implemented efficient and scalable image storage.