Skip to content

About

web app to play big two with friends

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

♦️♣️ Lets Play Big Two ♥️♠️

A multiplayer big two game.

🚧 Currently under development, there is still a few things to do for v1 🚧

Local development

Install deps:

npm i

Setup db tables:

npm run db:migrate

Start dev server:

npm run dev

DB changes

All DB schemas can be found at /drizzle/schemas. During development iterations it's ok to use npm run db:push to quickly make db changes. Once changes are ready, run npm run db:generate to create DB migration file. This will be run when then app deployed.

Deployment

This application its currently run as a single VM instance on fly.io. Due to way real-time is implemented it can only be scaled vertically! This is a deliberate design decision to keep this whole application self contained on a single node for portability. In theory we could run this on VPS somewhere too!

To manually deploy this app run:

fly deploy

Screenshots

...

Production operations

ssh into the fly VM:

fly ssh console

if the machine is not run:

fly machine start

lazysql is preinstalled to make db management easier.

To make DB changes run:

lazysql db/store.db

Technologies used

About

web app to play big two with friends

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages