Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 2.54 KB

README.md

File metadata and controls

31 lines (18 loc) · 2.54 KB

Veggielicious 🌱

Veggielicious is a recipe app that features only vegetarian or vegan recipes. Users can filter recipes by cuisine, such as Greek, Italian, Indian, Spanish, and more. The app fetches data from the Spoonacular API.

Built with React and Styled Components.

Access the deployed app here!

screenshot

Inspired by this tutorial from Dev Ed.

Overall thoughts on the project

This tutorial was a great review of basic React concepts such as the useState and useEffect hooks, as well as fetching API data and mapping over data to create components. I feel pretty solid about basic React now and I'm ready to take on more complex hooks and concepts. I wasn't a huge fan of the styling done by Dev Ed so I've made some changes as well as some improvements such as adding more cuisines to filter by and changing the app to feature vegetarian or vegan recipes only, as I am vegetarian. I really like the search feature, which actually wasn't that complex to implement.

I really liked the use of styled components for styling in this app. Definitely going to use those going forward because they seem so simple and intuitive.

As for future features, I'd like to add more filters, maybe by allowing users to search for specific types of recipes such as beverages, desserts, etc. Maybe a user could also be able to favourite recipes they liked. Looking at the API docs, it's also pretty easy to implement a 'What's for dinner' app based on ingredients that a user already has, and this could be another interesting feature. I also think there should be error handling for the API requests to display a message for when the API can't get the data, since it's pretty often that I'm running out of API requests!

A warning: the Spoonacular API limits you to 150 requests a day. This is especially a problem until you implement saving the recipes to localstorage, as every minor change makes the app refresh. There are workarounds to the 150 request limit but it's definitely annoying.

Available Scripts

Netlify Status

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.