Skip to content

sudo-ryan/bede-casino

Repository files navigation

Bede Casino

Features

  1. As an administrator when I am editing the site, I must be able to securely add casinos name, location and opening times
  2. As an administrator I must be able to edit casinos details
  3. As an administrator I can delete a casino
  4. As a user I should be able to search for the nearest casino to my current location
  5. As a user I should be able to see casinos on a map

Steps to setup:

  1. Git clone locally on your developer instance
  2. Run composer install in root directory of application to install dependencies (composer.lock used to lock dependencies)
  3. Create VHOST pointing to public folder of application. If using, homestead would be:
serve bede-casino.dev ~/Code/apps/bede-casino.dev/public
  1. Update host file with new host bede-casino.dev
  2. Update .env file with your MySQL details in root
  3. Run php artisan migrate (to create database tables)
  4. Run php artisan db:seed (to create test data)
  5. Access application - Note! If you wish to manage casinos, create an account top right.

Unit Test(s)

Mockery has been used - three tests added covering CasinosApiController. Run from root of application:

phpunit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published