Skip to content

CSES-Dev/webclicker-plusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the repository for the CSES WebClicker++ project built using Next.js bootstrapped with create-next-app.

Getting Started

Install the dependencies from npm:

npm run i

Update your .env file.

Copy paste the .env.example file and rename it to .env and update it with the values supplied by your EM.

Generate the prisma types/ config:

npx prisma generate

Run the development server:

npm run dev

Code Quality and Linting

This project uses ESLint and Prettier to ensure code quality and consistent formatting.

Linting Check

To manually check for linting errors, run:

npm run lint-check

Auto-fix Linting Errors

To automatically fix linting errors, run

npm run lint-fix

Prettier Formatting

To format your code with Prettier, run

npx prettier --write .

Committing and Pushing

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.

Running Tests

To run Playwright tests, run

npm run test

Deployment

On 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)

Contributing Guidelines

Branching + PR Guidelines (Work in Progress)

Documentation

Link to Documentation (Work in Progress)

About

The code for the Webclicker++ project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11