Skip to content
Simple back-end using Koa.js/PostgreSQL
Branch: master
Clone or download
Pull request Compare This branch is 7 commits behind StetSolutions:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
config
modules
resources/images
static/assets/images
.eslintrc.json
.gitignore
.npm-init.js
.npmrc
README.md
ecosystem.config.json
logger.js
package-lock.json
package.json
scheduler.js
server.js

README.md

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
You can’t perform that action at this time.