An open API service indexing awesome lists of open source software.

https://github.com/sealdevnut/crashgame-casino

Gambling casino with game crash
https://github.com/sealdevnut/crashgame-casino

casino casino-games crash crashgame gamble gambling gambling-game

Last synced: about 1 year ago
JSON representation

Gambling casino with game crash

Awesome Lists containing this project

README

          

contact here if you are looking for dev of casino
https://x.com/0xmooncity

# Gambling template casino

Casino with game of crash. In development used websockets (socket.io), node.js (adonis.js) and nuxt.js.
Demo: https://www.youtube.com/watch?v=ZP6pCAx_dkY
## Installation:
* Frontend (nuxt@^2) - https://nuxtjs.org/docs/get-started/installation/
* Backend (adonis@^4) - https://legacy.adonisjs.com/docs/4.1/installation
* Database - https://legacy.adonisjs.com/docs/4.1/database

## Frontend:

* Vue.js
* Tailwind
* БЭМ (small)
* Socket.io
* Vue-tailwind (UI)
* i18n internalization (RU & EN)
* @nuxtjs/auth with social

### Link storage (Linux):
sudo ln -s /absolute_path_to/casino/server/public/* /absolute_path_to/casino/static

#### Client Setup

```bash
# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate
```

For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

#### Server Setup

```bash
# goto server older
$ cd server

# install dependencies
$ npm install

# generate app key
$ adonis key:generate

# migrate database
$ adonis migration:run

# generate bots
$ adonis seed

# serve at localhost:3333
$ adonis serve
```

#### Env (client) Setup
* BASE_URL - url to server
* CLIENT_URL - url to client

#### Env (server) Setup
* CLIENT_URL - url to client