Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 610 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 610 Bytes

##Topic: Using illuminate Database With Eloquent in your PHP app without Laravel

In this tutorial, we will learn how to perform CRUD operations with the illuminate Database and Eloquent ORM by building the backend for a question and answer app.

The app will perform these tasks:

  • Add a user
  • Add a question
  • Add an answer to a question
  • Upvote an answer
  • Get a question with answers
  • Get all questions and users who asked them
  • Get a particular questions answers and upvotes
  • Count questions by a particular user
  • Update answer by user
  • Delete question