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
- 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
- Vue.js
- Tailwind
- БЭМ (small)
- Socket.io
- Vue-tailwind (UI)
- i18n internalization (RU & EN)
- @nuxtjs/auth with social
sudo ln -s /absolute_path_to/casino/server/public/* /absolute_path_to/casino/static
# 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.
# 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
- BASE_URL - url to server
- CLIENT_URL - url to client
- CLIENT_URL - url to client