An a11y friendly React/Next.js + Tailwind CSS Recipe Book App!
- Mock landing page
- Browse recipes as cards, paginated to pages
- Browse one recipe
- Recipe instructions flow: step-by-step, ability to quickly peep at the ingredients during recipe flow
- Strikethroughable ingredient list which persists to localStorage (user can quit browser, or session can timeout without losing progress)
- Add a recipe: ingredients with an unit and a value, step-by-step instructions
- Edit & delete a recipe
- One keyword search, which does a search on recipe's name & hashtags which are provided with the recipe
- Dark theme
- Ability to modify font weight, line height, letter spacing
- Settings, where you can persist user settings to localStorage
- Internationalization, en & fi languages can be found as common.json files at the /locales -folder
- Some Playwright tests located in /tests -folder
- Accessibility - not exhaustive but developed with that mindset
- "About"-page which features further information about this project: motivations, reasonings, possible things that were planned but not done / could be implemented in the future
Backend can be found at a different repo and is advised to deploy first. Take the backend address and add it to next.config.js
env-settings as API_URL
.
For the frontend:
-
Select the correct Node version (v18.15.0 LTS):
nvm use
-
Install dependencies:
npm install
-
Run locally:
npm run dev
-
Code!
- Tests can be run with headless
npm run test:e2e
or headed withnpm run test:e2e:headed
- Build an optimized version with
npm run build
, start the optimized version withnpm run start