A decentralized photo gallery application built on the Internet Computer blockchain. Users can upload, view, and manage their photos in a decentralized environment.
WARNING This is meant primarily as a demo to show how the response verification library and http gateways can be used to serve images with cache headers. It is not making use of authentication or certification - use it at your own risk.
- Photo Upload: Upload images directly to the Internet Computer
- Photo Gallery: View all uploaded photos in a responsive grid layout
- Decentralized Storage: Photos are stored on-chain using Internet Computer's asset storage
- Canister:
pictures-site-backend - Language: Rust with ic-cdk
- Functionality: Handles photo storage, retrieval, and metadata management
- Canister:
pictures-site-frontend - Framework: React with TypeScript
- Build Tool: Vite
- Styling: CSS with responsive design
- DFX SDK installed
- Rust and cargo
- Node.js and npm
-
Start the Internet Computer replica:
dfx start --clean --background
-
Deploy the canisters:
dfx deploy
-
Generate Candid interfaces after backend changes:
npm run generate
-
Frontend development server (if needed):
npm start