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

https://github.com/rafaelpadovezi/pytruco

Truco game created using python and django
https://github.com/rafaelpadovezi/pytruco

django-rest-framework truco

Last synced: about 2 months ago
JSON representation

Truco game created using python and django

Awesome Lists containing this project

README

        

# 🐍 pytruco ♣️ ♥️ ♠️ ♦️

A REST API 2 player `truco` game implementation. It's still under development.

## Details

It's written in python using:
- [django](https://www.djangoproject.com/)
- [django-rest-framework](https://www.django-rest-framework.org/)

### Entities

All the game data is saved in the database and was modeled as follows:

![Entities](docs/pytruco-entities.png "Entities")

For more information take a look at [models.py](./pytruco/apps/core/models.py).

## Running

Start the app using docker

```shell
docker compose up
```

And then you can access http://localhost:8000/api/schema/swagger-ui/