Skip to content

A dummy API to provide a few endpoints for the React from scratch series

Notifications You must be signed in to change notification settings

laracasts/react-from-scratch-api

Repository files navigation

React from scratch — dummy API

This laravel app is used to provide a few simple API endpoints for the React from scratch Laracasts series.

There is no authentication nor access restriction in there — it's just meant to be ran locally alongside the React app to have some endpoints to hit.

For things to work properly, you'll need to:

  • Seed the data: Run the Database seeder with php artisan migrate:fresh --seed. You should see 9 puppies in your database.
  • Create a symbolic link from source directory: Run php artisan storage:link to make stored images accessible publicly.
  • Run the Laravel app locally and make sure the React app uses the correct API URL when trying to hit it.

About

A dummy API to provide a few endpoints for the React from scratch series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages