Skip to content

hangmant/api

Repository files navigation

Hangwoman API

API for Hangwoman game

Environments

Wiki

https://github.com/hangwoman/api/wiki

Prerequisites

node ^16

pm2

Install pm2

npm install pm2 -g

The follow scripts describe how to run develompent mode:

Install

npm ci

Run

Run all services:

pm2 start

Deploying to Heroku git

Login to Heroku

heroku login

Link repository

git remote set-url heroku https://git.heroku.com/hangwoman-api.git

Publish changes

git push heroku master