Fun With Files – Time Capsule Submission for the Pinata Challenge

This is a submission for the The Pinata Challenge

What I Built

Fun With Files is a decentralized file-sharing platform where users can upload, view, and preserve their most cherished memories. It allows users to create a “time capsule” of …


This content originally appeared on DEV Community and was authored by Inês Catana

This is a submission for the The Pinata Challenge

What I Built

Fun With Files is a decentralized file-sharing platform where users can upload, view, and preserve their most cherished memories. It allows users to create a "time capsule" of images, accompanied by titles, descriptions, and tags. With integrated file upload and retrieval, Fun With Files ensures a seamless way to store and interact with media files using Pinata for decentralized file storage.

The application is built using Next.js for the frontend, Tailwind CSS for the UI, and MongoDB for storing metadata. Pinata is used to store the files on IPFS, ensuring decentralized and immutable file storage.

Demo

Live

homepage

upload page

gallery

My Code

GitHub Repository

More Details

In this project, I integrated Pinata in multiple ways:

File Upload to IPFS: Users can upload images via a simple frontend interface. These files are securely uploaded to IPFS using Pinata's API, ensuring decentralized storage.
File Retrieval from Pinata Gateway: The images uploaded by users are fetched and displayed from the Pinata gateway, ensuring users can view their files stored on IPFS.
IPFS CIDs for Content Addressing: Each file has a unique CID (Content Identifier) which is stored in MongoDB along with additional metadata like title, description, and tags. This CID is used to retrieve the files.

Features:
Decentralized Storage with Pinata: All files are stored on IPFS using Pinata, providing a permanent and secure way to store user memories.
File Management: Users can upload, view, and download images with titles and descriptions,


This content originally appeared on DEV Community and was authored by Inês Catana


Print Share Comment Cite Upload Translate Updates
APA

Inês Catana | Sciencx (2024-10-13T02:36:58+00:00) Fun With Files – Time Capsule Submission for the Pinata Challenge. Retrieved from https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/

MLA
" » Fun With Files – Time Capsule Submission for the Pinata Challenge." Inês Catana | Sciencx - Sunday October 13, 2024, https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/
HARVARD
Inês Catana | Sciencx Sunday October 13, 2024 » Fun With Files – Time Capsule Submission for the Pinata Challenge., viewed ,<https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/>
VANCOUVER
Inês Catana | Sciencx - » Fun With Files – Time Capsule Submission for the Pinata Challenge. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/
CHICAGO
" » Fun With Files – Time Capsule Submission for the Pinata Challenge." Inês Catana | Sciencx - Accessed . https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/
IEEE
" » Fun With Files – Time Capsule Submission for the Pinata Challenge." Inês Catana | Sciencx [Online]. Available: https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/. [Accessed: ]
rf:citation
» Fun With Files – Time Capsule Submission for the Pinata Challenge | Inês Catana | Sciencx | https://www.scien.cx/2024/10/13/fun-with-files-time-capsule-submission-for-the-pinata-challenge/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.