Skip to content

Agastya18/gambling-stake

Repository files navigation

Stake Clone

Welcome to the Dice Game, one of the popular game on Stake. This gambling app allow user to bet amount on the outcome range.

Features

  • Simple Gameplay: Place your bet and select the range to see if you win.
  • Provably Fair: Our dice rolls are generated using a fair algorithm ensuring randomness and fairness.
  • Customizable Bets: Adjust your bet amount and potential win multipliers.
  • User-Friendly Interface: Clean and intuitive design for a seamless user experience.
  • Wallet Management: Easily manage your betting funds with a built-in wallet system.
  • Razorpay Wallet Integration: Store and manage money in your wallet securely using Razorpay.

Tech Stack

Client: React, Material UI and dasiy UI TailwindCSS

Database: PostgreSQL with Prisma

Server: Node, Express

Payment Gateway: Razorpay for handling transactions and storing money in user wallets.

State Management: Zustand for managing global state.

Run Locally

Clone the project

  git clone https://github.com/Agastya18/gambling-stake.git

Go to the project directory

  cd gambling-stake

Install dependencies in both frondend and backend

  npm install

replace the .env-sample with .env

PORT=8000
JWT_SECRET=
DATABASE_URL=
NODE_ENV=development
RAZORPAY_API_KEY=
RAZORPAY_APT_SECRET=
WEBHOOK_SECRET=

Go to root and run

  npm run dev

Go to frondend and run

  npm run dev

Screenshots

<<<<<<< HEAD

d368723 (add cronjob)

  • games App Screenshot

  • dice game <<<<<<< HEAD App Screenshot ======= App Screenshot

d368723 (add cronjob)

  • Deposit/transaction App Screenshot

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any bugs or features.

Deployment Artical (by me)

Documentation

About

gambling website like stake in mern satck

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published