Michel Wilhelm 64d0105d4a
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 43s
Build / Code quality (push) Successful in 9m39s
Alterando Dockerfile
2025-02-05 10:11:51 -03:00
2025-02-05 10:06:48 -03:00
2025-02-04 15:49:25 -03:00
2025-02-05 10:04:42 -03:00
2020-11-04 21:32:04 -03:00
2025-02-04 15:49:25 -03:00
2025-02-05 10:04:42 -03:00
2025-02-04 15:49:25 -03:00
2025-02-04 15:46:54 -03:00
2020-11-04 21:32:04 -03:00
2020-11-04 21:32:04 -03:00
2025-02-05 10:11:51 -03:00
2025-02-05 10:04:42 -03:00
2025-02-04 15:49:25 -03:00
2025-02-04 15:51:45 -03:00
2025-02-04 15:45:04 -03:00

Minesweeper Backend

Stack used:

OpenAPI 3 documentation: https://apidoc.mines.makecodes.dev/ Game frontend: https://mines.makecodes.dev/ Frontend github repo: https://github.com/imakecodes/minesweeper-frontend

Production environment

Was used Digital Ocean to host the applications using a little droplet with 1GB/25GB with Ubuntu 20.04 LTS at New York with Docker and Nginx(for reverse proxy).

Also was used Github Actions to create docker images for backend and frontend

Next desired steps

  • Change the primary key of the game from Integer to UUID to avoid cheating from the players
  • User authentication to store the match history
  • Create a global and by user scoreboard
  • Create unit tests

Running locally

Assuming you have docker-compose and docker installed on your computer:

Clone the repository

git clone git@github.com:imakecodes/minesweeper-backend.git
cd minesweeper-backend

Run the application

docker-compose up -d

Run the migrations

docker-compose run app python manage.py migrate

The application will be available at http://localhost:8000

Description
No description provided
Readme 171 KiB
2025-02-11 01:46:20 +00:00
Languages
Python 83.9%
Shell 8.3%
Makefile 4.4%
Dockerfile 3.4%