Paka-API
The Paka API is a RESTful API based on Laravel 5 developed by me as my final school project.
Along with Paka API another two repos were developed, Paka-Web a single page application and Paka-APP a Cordova mobile application.
You will need a CouchDB and a MySQL server, just add those configs to the .env
Installation:
- Clone the repo:
$ git clone git@github.com:FabioAntunes/paka-api.git
- Enter the directory:
$ cd paka-api
- Install
composer
dependencies:$ composer install
- Rename .env.example file and insert your configs
- Migrate the database running
$ php artisan migrate
Launching API:
- Run the PHP server by doing
$ php artisan serv
or code>$ php artisan serv --host 0.0.0.0 if you want to access your server from outside.