Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
eliangidoniPublic archive

About

Minesweeper game API using DBOS

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Minesweeper game API using DBOS!

Running Locally

To run this app locally, you need a Postgres database. If you have Docker, you can start one with:

Setup dependencies

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Start Postgres

export PGPASSWORD=dbos
python3 start_postgres_docker.py

Start the app

export DBOS_DATABASE_URL="postgresql+psycopg://postgres:dbos@localhost:5432/minesweeper_dbos?connect_timeout=5"
dbos migrate
dbos start

Visit http://localhost:8000/docs to see the API!

Migrations

Auto-generate migrations with Alembic

export PGPASSWORD=dbos
alembic revision --autogenerate -m "add table"

About

Minesweeper game API using DBOS

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages