Re-creating API with Laravel and PHPUnit

The next thing we'll work on is adding real estate properties: houses/homes to rent. In this particular lesson, we will focus on adding the geographical data for city, country, and latitude/longitude.

Goals of This Lesson

  • Build a DB schema for countries, cities, and geographical objects, seeding a few of each
  • Build a first version of DB schema for properties, with geographical data
  • Automatically set property latitude/longitude based on the address, with Observer and Google Maps API
  • First version of API endpoint to create a property, covered by PHPUnit test

By the end of this lesson, we will see this in Postman:

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 59 courses (1057 lessons, 42 h 44 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord