Content Deep Dive
Creating a Simple Contacts List with Laravel and PostgreSQL
Blog post from DigitalOcean
Post Details
Company
Date Published
Author
Kamal Nasser
Word Count
1,507
Language
English
Hacker News Points
-
Summary
In this tutorial, we will build a simple Laravel app that displays a contacts list on a page using Eloquent and PostgreSQL's JSON object support. We will learn how to connect Laravel to a DigitalOcean Managed PostgreSQL database cluster, initialize the database with random data using Laravel factories and seeders, and store and read JSON documents in PostgreSQL using Laravel Eloquent. The app will query the database for the contacts and their details.