/legs

🦵 The legs powering the arms

Primary LanguageJavaScript

LEGS(ARMS back-end)

Setup

Install dependencies

npm install

Setup secrets

  • Create .env file with command below and replace dummy values with secrets in KeePassX vault
cp .env.sample .env

Start server and database in development mode

npm run start:dev

Initialise Database (run after start:dev to initialise db with seed data)

npm run init:db

Start database only

npm run start:db

Start server without database (used for ci)

npm start

Run the tests

npm test

Enable githooks

chmod 700 ./githooks/pre-push.sh
chmod 700 ./githooks/post-merge.sh

Build the app

npm run build