Skip to content

joseph-montanez/starter-app-rest-api-laravel-5

Repository files navigation

Starter App Rest API for Laravel 5

This is the rest API for the starter apps:

Install

You will need composer to start. To download composer you can go to GetComposer.org.

php composer.phar install

!OSX Mcrypt Issue!

Note if you are on OSX Yosemite 10.10, then you might get an error about mcrypt being required. You can resolve with fixing the local installation from this tutorial Install mcrypt for php on Mac OSX 10.10 Yosemite for a Development Server. Alternative you can use MAMP, Vagrant, or Docker

Next you need to copy and edit the example env file

cp .env.example .env

Don't forget to edit APP_KEY and JWT_SECRET

After that you can run the migration

php artisan migrate

Run

This will run as https://localhost:8000/

php artisan serve

Remigrate Everything

php artisan migrate:reset

License

The Laravel framework is open-sourced software licensed under the MIT license

About

Rest API for mobile applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages