This is the repository for the CSES WebClicker++ project built using Next.js bootstrapped with create-next-app.
npm run iCopy paste the .env.example file and rename it to .env and update it with the values supplied by your EM.
npx prisma generatenpm run devThis project uses ESLint and Prettier to ensure code quality and consistent formatting.
To manually check for linting errors, run:
npm run lint-checkTo automatically fix linting errors, run
npm run lint-fixTo format your code with Prettier, run
npx prettier --write .On commit, linting checks are automatically run to ensure code quality. Fix any errors manually or using the above commands, then stage those changes to proceed.
On push, a secret scan is triggered to ensure no sensitive data is accidentally pushed.
To run Playwright tests, run
npm run testOn opening a PR to the main branch, the GitHub CI pipeline is automatically run. This runs any playwright tests on a clean build of the app.
Continuous Deployment (Work in Progress)
Branching + PR Guidelines (Work in Progress)
Link to Documentation (Work in Progress)