Skip to content

pcerbino/minesweeper-api

Repository files navigation

Minesweeper API

Minesweepr classic game API developed using Laravel.

Install instructions

  • Clone this repository.
  • Create a MySQL database and update .env file with credentials.
  • Run $ composer install
  • Execute migrations $ php artisan migrate
  • Generate key $ php artisan key:generate
  • Generate Passport keys $ php artisan passport:keys
  • And finally $ php artisan passport:client --personal

Documentation

Endpoints documentation was generated with Postman and it's available: Run in Postman

The API it's focused on resolve and deliver to client all the information clean and processed. Also it's secure in terms that hidden squares are delivered with hidden content.

API routes are secured with Passport to implement JWT.

There are Feature Tests for game start and display square actions.

Todos

  • Implement Exceptions to handle errors.
  • Tests for user registration and login

License

MIT

About

Minesweeper Laravel API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published