Build a RESTful API in Slim 3
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software.
- Laravel CLI.
Clone the git repository on your computer
$ git clone https://github.com/fisayoafolayan/build-a-restful-api-in-slim3.git
You can also download the entire repository as a zip file and unpack in on your computer if you do not have git
After cloning the application, you need to install it's dependencies.
$ cd build-a-voucher-pool-api-in-slim3 $ composer install
When you are done with installation, copy the .env.example file to .env
$ cp .env.example .env
Migrate the application
$ vendor/bin/phinx migrate
Run the application
$ php -S localhost:9000 -t public
Click here to view the Database Schema