-
Clone the repo
-
Install dependencies
yarn
-
Setup precommit hooks
yarn husky install
-
Create a .husky/pre-commit file and fill it with the following contents
-
#!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" # yarn tsc --noEmit && yarn eslint . && yarn prettier --write . yarn lint-staged
-
Make .husky/pre-commit executable
chmod +x .husky/pre-commit
-
Start the development server
yarn dev
-
Open http://localhost:5173 with your browser to see the result.
- Add Loading Animation
- Add Authentication
- Add Responsiveness
- Implement all the features present in the original Hacker News website
- ReactJS
- TypeScript
- TailwindCSS
- Vite