Javascript and Postgres Tutorial Using Node-Postgres
Offered By: Hussein Nasser via YouTube
Course Description
Overview
Dive into a comprehensive step-by-step tutorial on connecting JavaScript to PostgreSQL using node-postgres. Learn how to set up a NodeJS project, install the node-postgres library, and establish a connection to a PostgreSQL database. Master executing queries with promises and parameters, perform insert statements, and explore async/await syntax. Gain insights into the query results object and understand how to implement transactions with begin, commit, and rollback operations. Perfect for developers looking to integrate PostgreSQL databases into their JavaScript applications, this tutorial covers essential concepts and provides practical examples to enhance your database programming skills.
Syllabus
Intro
Creating new NodeJS Project
The node-postgres npm library
Connecting to the postgres database promises
Executing queries promises
Executing queries with parameters promises
Executing Insert statement DML Promises
Connecting to postgres Async/await
The Results object of the query
Executing Transactions in Javascript Begin, Commit/Rollback
Taught by
Hussein Nasser
Related Courses
Web Application Development: The Data TierUniversity of New Mexico via Coursera Desarrollo de Aplicaciones Web: Nivel de Datos
University of New Mexico via Coursera Hacking PostgreSQL: Data Access Methods
Ural Federal University via edX Spatial Data Science and Applications
Yonsei University via Coursera RDBMS PostgreSQL
Indian Institute of Technology Bombay via Swayam