- This application requires [email protected] and a MySQL server
- Clone down the repository to your machine:
git clone [email protected]:thomaspalmer/demo-api
- Access the folder:
cd demo-api
- Install vendor packages:
composer install
- Copy the .env.example to .env
cp .env.example .env
and open and set database credentials that work for your environment - Run the install command which will run migrations, seed data etc...
php artisan install
- Start the server
php artisan serve
Running tests can be achieved via: php artisan test