The Nitro syncing server
JavaScript Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
migrations
test
.dockerignore
.eslintrc.js
.gitignore
.prettierrc
.travis.yml
AUTHORS
COPYING
Dockerfile
Procfile
app.js
package-lock.json
package.json
readme.md
wait-for-it.sh

readme.md

Nitro Sync 3

Build Status Maintainability Test Coverage Dependency Status devDependency Status

Configure

  • You'll need PostgreSQL installed - configure the settings in config.js
  • Set a strong JWT secret in config.js

Running

  • Run npm run migrate to run migrations.
  • Run with npm start. There will be an error if it can't connect to the database.
  • Run npm run migrate:test to run tests. Recommended to make sure everything is working.
  • npm run test will fail if run more than once without redoing migrations.
  • You'll need to pull the Nitro client in order for the server to host it. http://github.com/nitrotasks/nitro