Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 756 Bytes

File metadata and controls

37 lines (25 loc) · 756 Bytes

node-api-postgres

Build a rest api using nodejs/express.js, swagger and postgres db.

Technologies implemented:

Installation

$ npm install

Setting up the database for development

PostgreSQL database connection options are shown in the following table:

Option Development
Host localhost
Port 5432
Username postgres
Password postgres
Database node-api

Running the app

# development
$ node index.js

SWagger API docs

Swagger documentation will be available at http://localhost:3000/api-docs/