Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.79 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.79 KB

KaniCasino

Kanicasino.novadrake.com is a open source online casino. This version doesn't involve real money.

Users can play live games such as Crash and Coin Flip, and open cases in a Counter-Strike-like case system. Every 8 minutes, the players receive a refill in their balance, so they can continue playing and collecting items. Users can also sell and buy items in the Marketplace, creating a economy based on the rarity of the items.

You can talk with me about the project in discord, add me: novadrake76

Instalation

This project uses NodeJS + Express + WebSockets in the backend, and ReactJS + Vite + Typescript + TailwindCSS in the frontend.
Here, you can create your own items and cases.

If you want to run only the Front-end, please run npm install to install the dependencies, then use npm run dev. Create a .env file on the root folder, and set a VITE_BASE_URL with value https://kaniback.onrender.com. (this is the STG API, that can spin down with inactivity, which can delay requests by 50 seconds or more)

If you want to run the Back-end and the Front-end, change the VITE_BASE_URL to localhost in the .env on the root folder, install the dependencies on the root folder and in the backend folder, then create a .env on your backend folder, create the following variables (adjust as you wish): JWT_SECRET MONGO_URI PORT then, use npm run start.

Please note that the database access is not public; you can make your own database using MongoDB, or anything else.

To-Do

  • Add friend.
  • Item battle.
  • Fixed navbar when scrolling.

image