Skip to content

stetsolutions/polymer-2-koa-postgresql-back-end

Repository files navigation

Simple Back-end

Synopsis

Simple back-end using Koa.js/PostgreSQL

Install

Open terminal at project root and execute

$ npm install

Configure

CORS

Set origin (client) URL

$ export URL_ORIGIN='http://127.0.0.1:8081'

Setup

Initialize and seed database

$ export NODE_ENV=development && npm run db-init

Serve

$ export SIMPLE_SCHEDULER="false" && npm run debug

Test

$ NODE_ENV=test && npm test

About

Simple back-end using Koa.js/PostgreSQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •