Beerdegu is a real-time web application meant for beer tasting sessions, when you and your friends are rating every consumed beer (color, smell, taste etc.).
Backend repo: https://github.com/Alschn/Beerdegu
react
,next
- frontend frameworkmantine
- UI components library@tabler/icons-react
- icons@tanstack/react-query
- data fetchingzod
- validating schemasreact-infinite-scroll-component
- infinite scrollreact-use-websocket
- websocket clientreact-beautiful-dnd
- drag n' dropaxios
+ fetch - http clientsjsonwebtoken
- decoding json web tokensmsw
,playwright-msw
- mocking http requests in testsvitest
,@vitest/ui
,@vitest/coverage-c8
+@testing-library/react
- unit and components tests@playwright/test
- e2e tests@playwright/experimental-ct-react
- components tests
Create .env
file with environment variables
API_URL="http://127.0.0.1:8000"
NEXT_PUBLIC_API_URL=${API_URL}
NEXT_PUBLIC_WEBSOCKETS_URL="ws://127.0.0.1:8000/ws"
Run development server
pnpm run dev
Run unit tests - vitest
pnpm test
Run e2e tests - playwright
pnpm test-e2e
Run components tests - playwright-ct
pnpm test-ct
- Import Git repository in Vercel dashboard
- Add
API_URL
,NEXT_PUBLIC_API_URL
,NEXT_PUBLIC_WEBSOCKETS_URL
env variables - Deploy the application