This project is a simple demo of a RESTful JSON API written with ECMAScript 6 and Express. It's a continual work in progress.
-
You'll need a Postgres 9.6 database running, and a
DATABASE_URL
env variable set with the connection string. -
Install dependencies
yarn install
-
Create the table
yarn db-init
-
Run the tests
yarn coverage
-
Start the server
yarn dev
The API will be available at http://localhost:8080