You can view the following API routes:
- Get all posts:
GET
/api/posts
You need to create these:
- Create a post:
POST
/api/posts - Get a single post:
GET
/api/posts/{postId} - Update a post:
PUT/PATCH
/api/posts/{postId} - Delete a post:
DELETE
/api/posts/{postId}
To make a copy, click the Fork button above and follow the on-screen instructions. In this case, you'll be forking this repo as a starting point for your own app (see Github documentation to learn more about forking repos.
After forking the repo, you should now be viewing this README in your own github org (e.g. https://github.com/<your-org>/laravel-test
)