Skip to content

Sino-T05/Mid_2025_New-Wallpaper-hub-webapp

Repository files navigation

🎨 WallpaperHub - HD Wallpaper Collection

WallpaperHub Logo

A modern wallpaper gallery application built with React, TypeScript, and Supabase

MIT License React TypeScript Supabase


📖 Description

WallpaperHub is a wallpaper gallery app where users can discover, upload, and download high-quality wallpapers. Built with modern web technologies, it features a sleek design, authentication, and secure file uploads. WallpaperHub is a wallpaper gallery app...

✨ Features

🖼️ Wallpaper Management

  • HD quality enforcement
  • Upload validation
  • Real-time likes
  • Download tracking
  • Search and filter system

👤 User Experience

  • Authentication (email/password)
  • Personal profiles
  • Responsive design
  • Pull-to-refresh (mobile)

🎨 UI/UX

  • Glassmorphism design
  • Smooth animations
  • Dark theme
  • Skeleton loading states

🔐 Security & Performance

  • Row Level Security (Supabase)
  • Lazy loading
  • Image validation
  • Secure environment config

🛠️ Tech Stack

Frontend

  • React 18
  • TypeScript
  • Tailwind CSS
  • Vite
  • Lucide React (icons)

Backend

  • Supabase (PostgreSQL, Auth, Storage, RLS)
  • Supabase Edge Functions

Dev Tools

  • ESLint + TypeScript rules
  • PostCSS + Autoprefixer

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • Supabase account
  • Git

Installation

git clone https://github.com/yourusername/wallpaper-hub.git
cd wallpaper-hub
npm install
cp .env.example .env

⚠️ Add your Supabase credentials in .env file:

VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key-here

🔒 Never share your real .env file or credentials publicly.


📁 Project Structure

src/
  components/
  hooks/
  lib/
  data/
supabase/
public/
...

🔧 Supabase Setup

Create tables in SQL editor:

-- Example table
CREATE TABLE images (
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
  title text NOT NULL,
  ...
);

Also set up:

  • Supabase storage bucket (e.g., wallpaper-images)
  • Auth config (email/password)
  • RLS policies

🧪 Development Scripts

npm run dev     # Dev server
npm run build   # Production build
npm run preview # Local preview
npm run lint    # Lint check

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Open a pull request

Please follow existing code style and add documentation for new features.


📄 License

This project is licensed under the MIT License — free to use, modify, and distribute.


Made with ❤️ for learning and building cool stuff

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published