CoDuels is a platform with sports programming competitions. A "duel" competition takes place between two users.
Participants are given one task. The winner is the one who sent the correct solution first.
The project is written in React + Redux Toolkit in accordance with the principles of FSD.
Project structure details can be found here.
Project design can be found here.
To start the project:
- Create
.envfile with following content:
VITE_BASE_URL=http://localhost/api # Or any working backend url
- Run the following commands:
pnpm installpnpm dev
- Enjoy!
Scripts available in the project:
dev: runs the project with vite in development modebuild: builds the project with vite in production modelint: runs eslint on the projectlint:fix: fixes linting errors in the projectpreview: runs the project with vite in preview modefsd:lint: runs the Feature-Sliced Design linter on the projectprettier:fix: fixes prettier formatting errors in the projectprepare: prepares the project with husky
