Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 508 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 508 Bytes

How to make an API

This is a simple laravel API example including API versioning from my YouTube tutorial series on how to make an API.

How to set up this project

  1. Clone this repo
  2. cd into the directory
  3. Run composer install
  4. Run php artisan key:generate
  5. Set up your .env file with the correct data (don't forget API_DOMAIN)
  6. Run the table migrations php artisan migrate
  7. Seed the database php artisan db:seed

Now you should have the same project I ended the series with.