pixelsnow / tasteIT_recipe_app

Recipe web app that allows the user to browse recipes and add their own.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TasteIT

Recipe app where users from all over the world can share their favourite dishes πŸ₯˜

Created as a part of React course by @margittennosaar 🦊

Screenshot

How to run

  • npm install to install all dependencies
  • npm run server to run JSON Server
  • npm start to run the app on http://localhost:3000/

Technologies used

  • React
  • Axios
  • JSON Server (for development)
  • Countries API
  • Jest & React testing library for testing

Tests

  • TEST GROUP 1: Making sure that all 3 cards on the home page are rendered correctly
  • TEST GROUP 2: Snapshot test
  • TEST GROUP 3: Navigation test - mimicking user navigating the website (Also checking that pages were rendered correctly in the process)
  • TEST GROUP 4: Testing form functionality, mimicking user actions
  • TEST GROUP 5: Testing that Countries API is up and working
  • TEST GROUP 6: Testing that our JSON server is up and working
  • TEST GROUP 7: Testing "under the hood" functions (parseCountries)

Must-have features

  • βœ“ Function components + hooks
  • βœ“ Separated components (using props)
  • βœ“ Event handlers (onClick, onSubmit)
  • βœ“ Conditional rendering
  • βœ“ Lists and Keys
  • βœ“ Form
  • βœ“ Routing
  • βœ“ GET and POST to JSON-server db.json
  • βœ“ Styling
  • βœ“ Optimized and clean code without errors or warnings
  • βœ“ User can add and see recipes.
  • βœ“ For the countries use Countries API

About

Recipe web app that allows the user to browse recipes and add their own.


Languages

Language:JavaScript 73.0%Language:CSS 25.1%Language:HTML 1.8%