Server

Simple Node with Express + PostgreSQL Server

Build Statusarrow-up-right Slackarrow-up-right Greenkeeper badgearrow-up-right

An easy way to get started with a Express server with PostgreSQL with Node.js. Read more about it.arrow-up-right

Features

  • Babel 7

  • Environment Variables

  • Express

  • REST API

  • PostgreSQL

Requirements

Installation

GET Routes

Beyond GET Routes

CURL

  • Create a message with:

    • curl -X POST -H "Content-Type:application/json" http://localhost:3000/messages -d '{"text":"Hi again, World"}'

  • Delete a message with:

    • curl -X DELETE -H "Content-Type:application/json" http://localhost:3000/messages/1

Postman

Last updated

Was this helpful?