Commit History

App Name: WiFiLink Kenya Prompt: Build a fully responsive and animated React app called WiFiLink Kenya that serves as a broker for public and private Wi-Fi billing systems across Kenya. The app connects internet resellers, cyber cafΓ©s, and local hotspots with customers who want to access Wi-Fi in exchange for M-Pesa payments or tokens. Key Features: πŸ“ Location-based Wi-Fi hotspots directory πŸ” User sign-up/login with email and phone number (linked to M-Pesa) πŸ’° Admin and vendor dashboards for earnings tracking and user management 🧾 Token generation for timed Wi-Fi access (30min, 1hr, 3hr, etc.) πŸ”„ API integration with Wi-Fi routers (Mikrotik or UniFi API simulated) πŸ“¦ Payment system simulated via M-Pesa logic (placeholder or third-party gateway ready) πŸ“Š Analytics dashboard for vendors and admin 🎨 Modern animations and smooth UI transitions using Framer Motion Backend: Use Supabase connected to the account derricknyaga254@gmail.com Tables: users, vendors, wifi_tokens, transactions, hotspots, sessions Auth: Email & phone (OTP), Role-based access (admin, vendor, user) Real-time updates using Supabase subscriptions for session tracking Storage: Upload router/device config files or hotspot images Design: Use Tailwind CSS for sleek UI Include responsive mobile and desktop views Animations for transitions, loaders, and real-time notifications (Framer Motion) Use dark/light mode toggle Monetization: Admin (you) earns a commission per transaction (e.g. 5% of every top-up) Vendors are charged a monthly listing fee for hotspot visibility Option for running ads or data bundles marketplace (future integration) - Follow Up Deployment
f8abada
verified

Ghost9126 commited on

App Name: WiFiLink Kenya Prompt: Build a fully responsive and animated React app called WiFiLink Kenya that serves as a broker for public and private Wi-Fi billing systems across Kenya. The app connects internet resellers, cyber cafΓ©s, and local hotspots with customers who want to access Wi-Fi in exchange for M-Pesa payments or tokens. Key Features: πŸ“ Location-based Wi-Fi hotspots directory πŸ” User sign-up/login with email and phone number (linked to M-Pesa) πŸ’° Admin and vendor dashboards for earnings tracking and user management 🧾 Token generation for timed Wi-Fi access (30min, 1hr, 3hr, etc.) πŸ”„ API integration with Wi-Fi routers (Mikrotik or UniFi API simulated) πŸ“¦ Payment system simulated via M-Pesa logic (placeholder or third-party gateway ready) πŸ“Š Analytics dashboard for vendors and admin 🎨 Modern animations and smooth UI transitions using Framer Motion Backend: Use Supabase connected to the account derricknyaga254@gmail.com Tables: users, vendors, wifi_tokens, transactions, hotspots, sessions Auth: Email & phone (OTP), Role-based access (admin, vendor, user) Real-time updates using Supabase subscriptions for session tracking Storage: Upload router/device config files or hotspot images Design: Use Tailwind CSS for sleek UI Include responsive mobile and desktop views Animations for transitions, loaders, and real-time notifications (Framer Motion) Use dark/light mode toggle Monetization: Admin (you) earns a commission per transaction (e.g. 5% of every top-up) Vendors are charged a monthly listing fee for hotspot visibility Option for running ads or data bundles marketplace (future integration) - Follow Up Deployment
d912a7b
verified

Ghost9126 commited on

// AutoReel: TikTok-style auto video app (React + Supabase + Stripe) import React, { useEffect, useState } from "react"; import { createClient } from "@supabase/supabase-js"; import { motion } from "framer-motion"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; const supabase = createClient( "https://your-project.supabase.co", "public-anon-key" ); const fetchVideos = async () => { // Replace with actual API source for videos const res = await fetch("https://api.pexels.com/videos/popular", { headers: { Authorization: "Bearer YOUR_PEXELS_API_KEY", }, }); const data = await res.json(); return data.videos; }; const VideoCard = ({ video }) => ( <motion.div initial={{ opacity: 0, y: 50 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.5 }} className="w-full h-[90vh] mb-4 overflow-hidden rounded-2xl shadow-lg" > <video src={video.video_files[0].link} controls autoPlay loop muted className="w-full h-full object-cover" /> <div className="absolute bottom-0 p-4 text-white bg-gradient-to-t from-black to-transparent"> <h2 className="text-xl font-bold">{video.user.name}</h2> </div> </motion.div> ); export default function AutoReel() { const [videos, setVideos] = useState([]); useEffect(() => { fetchVideos().then(setVideos); }, []); return ( <div className="bg-black text-white min-h-screen flex flex-col items-center p-4"> <h1 className="text-3xl font-bold mb-6 animate-pulse">AutoReel 🎬</h1> <div className="w-full max-w-md space-y-6"> {videos.map((video) => ( <VideoCard key={video.id} video={video} /> ))} </div> </div> ); } // Notes: // - Replace YOUR_PEXELS_API_KEY with your actual API key // - Add Supabase tables for likes, comments, users, and admin dashboard // - Integrate Stripe/Flutterwave for revenue collection // - You can extend this to include login/signup via Supabase Auth // - Hosting suggestion: deploy to Vercel - Initial Deployment
c9cfc13
verified

Ghost9126 commited on

initial commit
1810210
verified

Ghost9126 commited on