A stunning, modern web application showcasing beautiful UI/UX design with animated components, card scanner effects, and integrated user authentication.
- 🎨 Beautiful UI/UX - Premium design with glassmorphism, gradients, and smooth animations
- 🎯 Card Scanner Effect - Animated card scanning visualization
- 🔐 User Authentication - Supabase-powered auth with personalized dashboards
- 📊 User Dashboard - Track goals, income, and clients
- ⚡ Performance Optimized - Built with React, TypeScript, and Vite
Prerequisites: Node.js 16+
-
Clone the repository
git clone https://github.com/ItsssssJack/Gorgeous-websites.-.git cd Gorgeous-websites.- -
Install dependencies
npm install
-
Set up environment variables
Copy
.env.exampleto.env.local:cp .env.example .env.local
Then edit
.env.localand add your credentials:VITE_SUPABASE_URL- Your Supabase project URLVITE_SUPABASE_ANON_KEY- Your Supabase anon/public keyGEMINI_API_KEY(optional) - For AI features
-
Run the development server
npm run dev
-
Build for production
npm run build
- Click the "Deploy" button above or go to Vercel
- Import your GitHub repository
- Add environment variables in Vercel dashboard:
VITE_SUPABASE_URLVITE_SUPABASE_ANON_KEYGEMINI_API_KEY(optional)
- Deploy!
To use the authentication features, you'll need to set up Supabase:
- Create a Supabase account
- Create a new project
- Run these SQL commands in the Supabase SQL Editor:
-- Create users table
CREATE TABLE users (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
email TEXT UNIQUE NOT NULL,
password TEXT NOT NULL,
name TEXT NOT NULL,
website TEXT,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
-- Create user_dashboard table
CREATE TABLE user_dashboard (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
user_id UUID REFERENCES users(id) ON DELETE CASCADE,
goal TEXT,
income NUMERIC,
clients INTEGER,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
-- Enable Row Level Security
ALTER TABLE users ENABLE ROW LEVEL SECURITY;
ALTER TABLE user_dashboard ENABLE ROW LEVEL SECURITY;
-- Create policies (basic - improve for production)
CREATE POLICY "Users can read own data" ON users
FOR SELECT USING (true);
CREATE POLICY "Users can insert own data" ON users
FOR INSERT WITH CHECK (true);
CREATE POLICY "Users can read own dashboard" ON user_dashboard
FOR SELECT USING (true);
CREATE POLICY "Users can insert own dashboard" ON user_dashboard
FOR INSERT WITH CHECK (true);
CREATE POLICY "Users can update own dashboard" ON user_dashboard
FOR UPDATE USING (true);- Copy your project URL and anon key to
.env.local
- React 19 - UI framework
- TypeScript - Type safety
- Vite - Build tool
- Framer Motion - Animations
- Supabase - Backend & Auth
- Tailwind CSS - Styling (via inline styles)
- Lucide React - Icons
MIT
Built with ❤️ using cutting-edge web technologies
