- TaiwindCSS
- Shadcn-UI
- Lucida Icons
- Vitest
- node.js and npm
- git
Use following commands:
# clone the repository
git clone git@github.com:InTeam-Russia/fall24hack-frontend.git
cd fall24hack-frontend
# install yarn
npm i -g yarn
# setup project
yarn
yarn dev
Follow this steps to make this repo clean
- Always do extra check for code style before committing, using:
yarn format
yarn lint
yarn test # if nessesary
-
Do not push direct into main. Insead, use pull requests
-
Do not use GitHub to make commits — they're probably won't pass lint check. And, if you did, do this manually:
- If bad commit is last
git pull origin <branch>
yarn format
git commit --amend -m "use same commit message"
git push origin <branch> --force-with-lease
- If bad commit is not last
git pull origin <branch>
yarn format
git commit -m "chore: format bad commit"
git log # find commit with hash e.x. `COMMIT` that is at least two commits higher than bad
git rebase -i COMMIT
# Do interactive rebase - select your fix commit and replace `pick` with `f`. Save and quit your git editor
git log # check if your fix commit is disappeared
git push origin <branch> --force-with-lease