Michel Wilhelm f51e7c83c6
Some checks failed
Release Drafter / update_release_draft (push) Failing after 21s
Build / Build (push) Failing after 4m46s
Updating from master to main
2022-10-25 17:20:24 -03:00
2022-10-25 17:20:24 -03:00
2020-11-04 21:32:04 -03:00
2022-08-30 20:22:46 -03:00
2022-08-30 20:22:46 -03:00
2020-11-05 23:29:35 -03:00
2022-08-30 19:50:21 -03:00
2020-11-04 21:32:04 -03:00
2020-11-04 21:32:04 -03:00
2020-11-04 21:32:04 -03:00
2022-08-30 19:50:21 -03:00
2022-08-30 19:50:21 -03:00
2020-11-04 21:32: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%