Lunch restaurant voting app frontend built for Solidabis coding challenge. The Spring Boot backend was provided & ready to use, and only minor adjustments related to cookies/Heroku were added.
Note: the backend is running on Heroku and is probably sleeping, it will take a short while to wake up.
- Built with Typescript & Sveltekit
- Styling with Tailwind
- Uses SWR package for data fetching/caching & window focus revalidation
- E2E tests with Playwright
- Backend runs on Heroku, frontend at Vercel
- Voting does not work in Safari, probably due to the server & client being hosted at different domains and third-party cookies being blocked by default
- Tests related to voting fail due to cookie issues, couldn't figure out a fix
./gradlew bootRun
Note: I never ran this locally but I suppose it will still work after the small changes
npm install
npm run build
npm run preview
Running tests
npm run test