/alchemy-server

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Alchemy Server

Dependencies:

Installation

  • Setup PostgreSQL with a database called alchemy: CREATE DATABASE alchemy;
  • and a user named alchemist with a password of njksdfyuieyui34y: CREATE ROLE alchemist with login password 'njksdfyuieyui34y'; GRANT ALL PRIVILEGES ON DATABASE alchemy TO alchemist;
  • npm install
  • node ./server/create-lb-tables.js
  • node ./server/migrate.js

Run app locally

  • npm run start
  • Start up the Alchemy Client app

Development

Migrations

After changing any model definition (.json) files, run: node ./server/migrate.js