A fully functional photo application built with Next.js and TailwindCSS, integrated with Cloudinary for image storage and management.
- 📸 Upload Images: Seamless photo upload functionality.
- 🖼️ Image Gallery: Display uploaded images in a responsive grid layout.
- 🗑️ Delete Images: Easily remove unwanted photos from your Cloudinary account.
- 🔍 Preview Photos: View photos with zoom or modal previews.
- 📂 Cloudinary Integration: Efficient image storage and retrieval via Cloudinary's API.
- Framework: Next.js
- Styling: TailwindCSS
- Image Management: Cloudinary
- Deployment: Vercel
Follow these steps to set up and run the app locally:
git clone https://github.com/nadeemhussain4462/cloudinary-photos-app.git
cd cloudinary-photos-app
npm install
Create a .env.local
file in the root directory and add the following variables:
CLOUDINARY_CLOUD_NAME=your-cloud-name
CLOUDINARY_API_KEY=your-api-key
CLOUDINARY_API_SECRET=your-api-secret
NEXT_PUBLIC_CLOUDINARY_UPLOAD_PRESET=your-upload-preset
npm run dev
Open http://localhost:3000 in your browser to view the app.
cloudinary-photos-app/
├── components/ # Reusable UI components
├── pages/ # Next.js pages
├── styles/ # TailwindCSS configuration and global styles
├── utils/ # Helper functions (e.g., Cloudinary API integration)
├── public/ # Static assets
├── .env.local # Environment variables (not committed)
├── package.json # Dependencies and scripts
└── README.md # Project documentation
Deploy this app easily using Vercel:
- Push your code to GitHub.
- Connect your GitHub repo with Vercel.
- Add your environment variables in the Vercel dashboard.
- Deploy the app and share your live link!
Contributions are welcome! Please fork this repository and open a pull request with your changes.
This project is licensed under the MIT License.
Nadeem Hussain
- GitHub: @nadeemhussain4462
- LinkedIn: Nadeemhussain