Skip to content

Drumpe/slotsify

Repository files navigation

Slotsify

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.

Features

  • 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

Tech Stack

Getting Started

  1. Install dependencies:

    npm install
  2. Set up environment variables:

    • Copy .env.example to .env and fill in your Supabase keys.
  3. Run the development server:

    npm run dev
  4. Build for production:

    npm run build

Project Structure

  • src/ – React components and styles
  • netlify/functions/ – Serverless backend functions (auth, spin, profile)
  • public/images/ – Slot machine symbols and assets

License

MIT

About

A simple slot mashine, with backend at Netlify and DB at Supabase

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages