- Install dependencies with
yarn - Start the API with
yarn dev
- Build the server with
yarn build - Start the compiled server with
yarn start
- GitHub Actions builds
dist/ - CodeDeploy ships the built artifact to
/home/ubuntu/hermes - The EC2 host installs production dependencies with Yarn
- PM2 runs
node dist/index.js - Nginx proxies public traffic to Hermes on
127.0.0.1:5555
Hermes includes an appspec.yml, ecosystem.config.cjs, and deployment scripts under scripts/ so CodeDeploy can deploy a CI-built artifact onto an EC2 instance without compiling TypeScript on the box.
- Start the server with
yarn dev - visit http://localhost:5555/api/auth/login in your browser
- Log in with your HackIllinois email
- You will receive an
access_token. use the headerAuthorization: <access_token_here>for all requests.
- Email akul.sharma@hackillinois.org with questions. API docs are entirely AI generated so they may be a bit inaccurate LOL