This is an application that integrates with GitHub Projects for seamless import of product backlogs into a UI for easy sprint estimation. Scrum-Poker will watch select repos after the app is installed to a user's GitHub (user acct, org acct, or repo)
git clone https://github.com/hotfix-studios/scrum-poker.git
cd scrum-poker
npm i
local.env
file name to .env
🦺-GH-SCRUM-POKER
region and plug in the following values:
APP_ID="..."
WEBHOOK_SECRET="..."
CLIENT_ID="..."
INSTALLATION_ID="..."
PRIVATE_KEY="..."
NODE_ENV="development" PORT="..." WSS_PORT="..." WEBHOOK_PATH="..."
### To Develop:
- In root of `scrum-poker`
- Make sure your branch is up to date:
- This will fetch current remote main and merge into your feature-branch
```sh
# fetch and merge remote main into your feature branch
git pull origin main
# Install packages if needed
npm i
# Redirects event payloads from our proxy to our app
npx smee -u https://smee.io/hcbsiedRHAM0Aka3 -t http://localhost:3000/api
# compile TypeScript files to JavaScript files in `./dist` so that Node can run and kick off Node server
npm run dev
npx smee -u https://smee.io/hcbsiedRHAM0Aka3 -t http://localhost:3000/api
npm run server
dist
and re-compile with up-to-date .ts
files...
# If Powershell Terminal, from root
.\scripts\build-clear.ps1
./scripts/bash-build-clear.sh
- If you want to clean out `node_modules` and reinstall them:
- This is good if you get a blinking terminal, or a good first step in debugging weird issues in general...
```sh
# If Powershell Terminal, from root
.\scripts\packages-clear.ps1
# If Bash/ZSH Terminal, from root
./scripts/bash-packages-clear.sh
npm i
npm run start
REST/CRUD
//# ###############
//# # REST/CRUD ###
//# ###############
//# USE:
//# # - Create...
//# # - Find...
//# # - Update...
//# # - Delete...
//# ###############
HTTP COMMUNICATION
//# ##################
//# # HTTP ROUTES ####
//# ##################
//# USE:
//# # - Post...
//# # - Get...
//# # - Put/Patch...
//# # - Delete...
//# ###############