Slotsify is a simple online slot machine game built with React and Vite. Users can sign up, log in, and play a slot machine to win coins. The app uses Supabase for authentication and profile storage, and Netlify Functions for secure backend logic.
- User authentication (sign up, log in, log out) via Supabase
- Each user has a profile with a username and coin balance
- Play a slot machine with animated reels and real-time coin updates
- Winner table showing all possible winning combinations and payouts
- Secure backend logic for spins and payouts using Netlify Functions
- Responsive and modern UI
- React + Vite for the frontend
- Supabase for authentication and database
- Netlify Functions for backend logic
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.exampleto.envand fill in your Supabase keys.
- Copy
-
Run the development server:
npm run dev
-
Build for production:
npm run build
src/– React components and stylesnetlify/functions/– Serverless backend functions (auth, spin, profile)public/images/– Slot machine symbols and assets
MIT