In this video tutorial I’ll show you how to get up and running with Express.js with Postgress. We’ll create a small little Restful API that retrieves song data and returns it. You can also CREATE, READ and Delete data.
- 0:00 Introduction
- 0:44 Installiing Dependencies and Package.json Setup
- 02:40 Setting Up Folders
- 03:23 Creating app.js file with Hello World
- 05:39 Setting Up Logging With Morgan and Chalk
- 08:04 Setup Postgres Database and initilize data (Pause Here To see Commands)
- 08:59 Adding Route To Grab Postgress DB Data getSongs HTTP GET
- 12:35 Adding postSong with HTTP POST
- 16:15 Adding deleteSong with HTTP DELETE
#express #node #javascript #web-development