
A Beginner’s Guide to Building a REST API with Express.js, PostgreSQL, and Postman
Co-authored by: Rhea Grace Catacutan Ever wonder how websites 'talk'? We know that databases store the information, but a REST API is the bridge that lets you actually move it. Here is how to build a simple API that creates, retrieves, and manages your data using Express, PostgreSQL, and Postman. Workshop Proper Prerequisites To follow this guide, you will need the following tools: Node : A runtime environment to run JavaScript and server files. PostgreSQL : A database server to store the information used in your API. VSCode : A code editor for writing your backend logic. Postman : A tool used to test and debug HTTP requests. If you do not have any of the following software for this workshop, go to the following links for installation: Node - https://nodejs.org/en/download PostgreSQL - https://www.enterprisedb.com/downloads/postgres-postgresql-downloads VSCode - https://code.visualstudio.com/download Postman - https://www.postman.com/downloads/ Getting Started 1. Initialize Node Projec
Continue reading on Dev.to
Opens in a new tab


