This is a Monopoly app that allows you to play the classic board game on your computer. It is built with FastAPI and managed with Poetry, and can be run in a Docker-Compose container with a Postgres database. Alembic is used for database migrations and Pydantic is used for data validation.
demo.mov
To install the Monopoly app, follow these steps:
- Clone the repository to your local machine.
- Install Docker and Docker Compose on your machine if you haven't already.
- Build the Docker images by running
docker-compose build
in the root directory of the project. - Run the Docker Compose container by running
docker-compose up
.
To use the Monopoly app, follow these steps:
- Start the app by running the Docker Compose container with
docker-compose up
. - Open your web browser and navigate to
http://localhost:8000/docs
. - Use the Swagger UI to interact with the API and play the game.
The Monopoly app includes the following features:
- Multiplayer support for up to 8 players.
- Postgres database for persistent storage.
- Alembic for database migrations.
- Pydantic for data validation.
- Pre-commit hooks
If you would like to contribute to the Monopoly app, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
The Monopoly app is licensed under the MIT License. See LICENSE
for more information.