Team ID: 7444
Team Name: Sigma Squad
- Si Wen Xuan, Terry
- Toh Yi Zhong
git clone https://github.com/tohyzhong/trivia-app.gitnpm run setupUSER1 = <Username 1>
PASSWORD1 = <Password for User1>
USER2 = <Username 2>
PASSWORD2 = <Password for User2>
USER3 = <Username 3>
PASSWORD3 = <Password for User3> VITE_API_URL = <Backend API URL> # (Testing: "http://localhost:8080")CONNECTION_STRING = <MongoDB Connection String>
JWT_SECRET = <Any randomised string>
FRONTEND_URL = <Link to development frontend URL> # (Testing: "http://localhost:5173")
EMAIL_USER = <Email>
EMAIL_PASS = <App password (16 characters)>
STRIPE_SECRET_KEY = <Stripe Sandbox/Business Secret Key>
STRIPE_WEBHOOK_SECRET = <Stripe Sandbox/Business Webhook Secret>
NODE_ENV = "development"
PORT = 8080 npm run devnpx playwright installnpm run testAlternatively, to open the Vitest UI:
npm run test:uinpm run test:pwAlternatively, to open the Playwright UI:
npm run test:pw:uiTo run tests in headed mode:
npm run test:pw:headed