Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.05 KB

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