Sakura Gallery is a beautiful, responsive web application that showcases cherry blossom images using the Pixabay API. With features like infinite scrolling, dark mode, and a masonry layout, it provides an immersive viewing experience for cherry blossom enthusiasts.
Clone the repository:
git clone https://github.com/waylake/sakura-gallery.git
cd sakura-gallery
Install dependencies:
bun install
Create a .env
file in the root directory and add your Pixabay API key:
PIXABAY_API_KEY=your_api_key_here
Start the development server:
bun run dev
Open your browser and visit http://localhost:5173
sakura-gallery/
āāā api/
ā āāā image-proxy.js
ā āāā images.js
āāā public/
āāā server/
āāā src/
ā āāā components/
ā āāā contexts/
ā āāā hooks/
ā āāā types/
ā āāā utils/
āāā .env
āāā package.json
āāā tsconfig.json
āāā vite.config.ts
āāā vercel.json
The project is deployed on Vercel. Any push to the main branch will trigger a new deployment.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.