Use this to test the coach. This is a bit of a duct taped website, so you will have to edit client/src/pages/Home/index.tsx if you would like to change things around to your liking.
- pnpm
- typescript
- react
- react router (for SSR)
- express.js (with cluster)
git clone https://github.com/wintrcat/coach-testing-ground .
pnpm install
Quickstart - Run pnpm dev and then go to the localhost URL it gives you.
pnpm dev- start frontend dev server with HMR and stuffpnpm [-F <client/server>] build- build for productionpnpm start- start server
Stored in .env in the root directory:
ORIGIN- origin for production server e.g.http://localhost:8080DEV_ORIGIN(optional) - origin for dev server; defaults tohttp://localhost:3000THREADS(optional) - number of threads to run server on. defaults to number of available coresVITE_OPENAI_KEY- API key to be passed to the OpenAI SDK.