johncortes00 / rest-api-nodejs-postgresql

REST API built with Node.js, Express and PostgreSQL

Home Page:https://rest-api-nodejs-postgresql-1.herokuapp.com/users/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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