Skip to content

johncortes00/rest-api-nodejs-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API built with Node.js, Express.js and PostgreSQL

The goal of this project is to build a REST API using Node.js, Express.js and PostgreSQL. For this project I created a table called Users which has three columns id, name and email. NPM Packages used in this project

You will learn this:


How to start a Node.js project
How to use express.js to create a web server
How to create routes for your application
How to use pg module to get connected to PostgreSQL relational database
How to create CRUD operations in PostgreSQL relational database
How to create a REST API implementing HTTP methods: GET, POST, PUT AND DELETE

Modules used:


express: web framework for node
pg: connection driver for PostgreSQL relational database
nodemon: module used to automatically restart the application when a change is made