Skip to content

superseriouscompany/floats.superserious.co

Repository files navigation

floats.superserious.co

This is the floats api.

Requirements

  1. node
  2. docker

Installation

$ npm install
$ cp config/secrets.js{.example,}

Running

# run normally
$ npm run dev

# run in panic mode
$ npm run panicmode

# run for android (we can't use docker at the same time)
$ npm run android

Testing

In-memory (fast)

$ npm test

Against live db (slow)

$ npm run livetest

Adding a new dynamodb table, e.g. poops

  1. Add schema to schemas/poops.js (see others for examples)
  2. Add key to schemas/schema.js
  3. Add table names to config/index.js and config/production.js
  4. Run npm run createTables

Releases

No releases published

Packages

No packages published