Developing REST API using Laravel

Installations

  • clone the repo to your local
  • run composer install
  • copy .env.example to .env at project directory
  • update the .env environment database credentials.
  • run php artisan config:clear
  • run php artisan migrate:fresh --seed
  • run php artisan serve and go to the browser url type 127.0.0.1:8000/api/todo to start your day.