/plushcap/analysis/digitalocean/create-simple-contacts-laravel-postgresql

Creating a Simple Contacts List with Laravel and PostgreSQL

What's this blog post about?

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.

Company
DigitalOcean

Date published
Feb. 21, 2019

Author(s)
Kamal Nasser

Word count
1507

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.