Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/israel-laguan/healthy-foodie
Recipes App ~ Get a list of recipes, filter or query as you like, and check the recipe!
https://github.com/israel-laguan/healthy-foodie
create-react-app eslint reactjs redux stylelint
Last synced: 21 days ago
JSON representation
Recipes App ~ Get a list of recipes, filter or query as you like, and check the recipe!
- Host: GitHub
- URL: https://github.com/israel-laguan/healthy-foodie
- Owner: Israel-Laguan
- License: apache-2.0
- Created: 2020-07-31T03:05:28.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2023-12-13T13:02:38.000Z (11 months ago)
- Last Synced: 2023-12-13T14:28:00.736Z (11 months ago)
- Topics: create-react-app, eslint, reactjs, redux, stylelint
- Language: JavaScript
- Homepage: http://healthy-foodie.surge.sh/
- Size: 24.1 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Healthy Foodie - Recipes App
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues-open][issues-open-shield]][issues-url]
[![Issues-closed][issues-closed-shield]][issues-url]
[![Contributors][contributors-shield]][contributors-url]| Healthy Foodie |
| :--------------------------------------------------------------------------------------------------------------------------------------------------: |
| ![app-icon][] |
| Recipes App ~ Get a list of recipes, filter or query as you like, and check the recipe! ~ Consuming an API with React and managinf state with Redux. |
| [🐞 Report a bug or 🙋♂️ request a feature][issues-url] |
| [![contributions welcome][contributions-welcome]][issues-url] [![License][badge-apache]][apache-license] |## Live project at [healthy-foodie.surge.sh](http://healthy-foodie.surge.sh)
- [Healthy Foodie - Recipes App](#healthy-foodie---recipes-app)
- [Live project at healthy-foodie.surge.sh](#live-project-at-healthy-foodiesurgesh)
- [The Project](#the-project)
- [Features](#features)
- [Built With](#built-with)
- [Using the App](#using-the-app)
- [How to run this project](#how-to-run-this-project)
- [Prerequisites](#prerequisites)
- [Run it (Quickstart with docker)](#run-it-quickstart-with-docker)
- [Installing the project](#installing-the-project)
- [Available Scripts](#available-scripts)
- [`npm start`](#npm-start)
- [`npm run build`](#npm-run-build)
- [Learn More](#learn-more)
- [Potential Features](#potential-features)
- [Author](#author)
- [Contributing](#contributing)
- [Show your support](#show-your-support)
- [License](#license)![app-banner][]
## The Project
As part of Microverse Students, I have to complete some capstone projects, solo projects at the end of the each of the Microverse Main Technical Curriculum sections. This time is for React section.
This project is based in a catalogue of dogs [Catalogue of Dog Clothes](https://www.notion.so/Catalogue-of-Dog-Clothes-8bf1512b8ab34fa28848beb8ab698a32). As stated on the description I changed the subject (also I did not found any API on dog clothes :sad: ). I decided to make a catalogue of recipes. It would be useful and flashy; who doesn't loves to see pics of food!
### Features
[![][javascript]][javascript-url]
[![][react]][react-url]
[![Framework][badge-framework]][framework-url]
[![][bootstrap]][bootstrap-url]- Basic `create-react-app` structure
- Sets `stylelint` on the repo
- Sets `eslint` rules
- Linters
- React
- React-DOM
- React-Create-App
- Redux
- PropTypes
- ES6 syntax
- Export/import ES6+ notation### Built With
- `create-react-app`
- `ESLint`
- `npm`
- `vscode` with _ESLint_ extension
- Linux/GNU
- Love and Passion for code## Using the App
- Open it and check some pre loaded recipes!
![home](docs/home.png)
- Press a filter button to get recipes acording to the filter pressed
![filters](docs/filters.png)
- Search in the navbar for your favorite recipe!
- Press any card from the list and see details like ingredients, nutricional info, and a link to the recipe:
![details](docs/details.png)
## How to run this project
### Prerequisites
- `npm` 6.13 +
- `node` 11.15 +
- `docker` and `docker-compose` (optional)
- A Text Editor like VSCode
- A browser like Firefox or Chrome### Run it (Quickstart with docker)
- Be sure to setup `docker-compose` and have `git` and `npm` working.
- Run this:```sh
> git clone https://github.com/Israel-Laguan/healthy-foodie.git
> cd healthy-foodie
> npm i
> docker-compose build
> docker-compose up frontend
```- Enter [localhost:3000][] in a browser for the frontend.
![docker-build](docs/docker-build.gif)
![docker-up](docs/docker-up.gif)
You can also test using docker, run `docker-compose up test` or `docker-compose run --rm test`
![docker-test](docs/docker-test.gif)
Not a fan of Docker or need more information? Continue for instructions to learn more about how to setup your PC for run the frontend!
We used `create-react-app` to initialize this project, so it is configurated to be easy to run. Just follow the following instructions.
### Installing the project
Now that you are set up, open a terminal and:
```sh
git clone https://github.com/Israel-Laguan/healthy-foodie.git
cd healthy-foodie
npm i && npm start
```Then open [http://localhost:3000/](http://localhost:3000/) to see the app.
![app](docs/app.gif)
### Available Scripts
In the project directory, you can run:
#### `npm start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.The page will reload if you make edits.
You will also see any lint errors in the console.#### `npm run build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.
Your app is ready to be deployed!See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
## Potential Features
- [ ] Improves filtering (by calories, by ingredient, by money spent, etc.).
- [ ] Create a landing page.
- [ ] \.## Author
| [Israel Laguan][author-github] | ![email-icon][] Email me to [[email protected]][author-email] / ![linkedin-icon][] Connect to [my Linkedin][author-linkedin] |
| :----------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: |
| ![author-pic][] | ![banner][] |## Contributing
[![contributions welcome][contributions-welcome]][issues-url]
🤝 Contributions, issues and feature requests are welcome!
Feel free to check the [issues page][issues-url].## Show your support
🤗 Give a ⭐️ if you like this project!
- API: Powered by [Spoonacular's Food API](https://spoonacular.com/food-api)
![spoonacular][api-logo]
- Icons from [![Icons8][icons8-logo]][icons8] Icons8
- Banner from [canva.com](https://www.canva.com)
- Favicon from [favicon.io](https://favicon.io/emoji-favicons/)
- Production deployment using [surge.sh](https://surge.sh/)
- custom Bootstrap 4's theme from [https://bootstrap.build](https://bootstrap.build/app), using a modified version of its Sketchy theme## License
[![License][badge-apache]][apache-license]
📝 This project is licensed under the [Apache 2](LICENSE)\
Feel free to fork this project and improve it![![HitCount](http://hits.dwyl.com/Israel-Laguan/healthy-foodie.svg)](http://hits.dwyl.com/Israel-Laguan/healthy-foodie)
[contributors-shield]: https://img.shields.io/github/contributors/Israel-Laguan/healthy-foodie?style=for-the-badge
[contributors-url]: https://github.com/Israel-Laguan/healthy-foodie/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/Israel-Laguan/healthy-foodie?style=for-the-badge
[forks-url]: https://github.com/Israel-Laguan/healthy-foodie/network/members
[stars-shield]: https://img.shields.io/github/stars/Israel-Laguan/healthy-foodie?style=for-the-badge
[stars-url]: https://github.com/Israel-Laguan/healthy-foodie/stargazers
[issues-open-shield]: https://img.shields.io/github/issues/Israel-Laguan/healthy-foodie?style=for-the-badge
[issues-closed-shield]: https://img.shields.io/github/issues-closed/Israel-Laguan/healthy-foodie?style=for-the-badge
[badge-framework]: https://img.shields.io/badge/store-Redux-000?style=for-the-badge&logo=redux
[react]: https://img.shields.io/badge/React-16+-61DAFB?style=for-the-badge&logo=react
[javascript]: https://img.shields.io/badge/JAVASCRIPT-ES6%2B-F7DF1E?style=for-the-badge&logo=javascript
[css]: https://img.shields.io/badge/style-CSS-1572B6?style=for-the-badge&logo=css3
[bootstrap]: https://img.shields.io/badge/style-Bootstrap4-563D7C?style=for-the-badge&logo=bootstrap
[contributions-welcome]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=for-the-badge
[issues-url]: https://github.com/Israel-Laguan/healthy-foodie/issues
[badge-apache]: https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge
[apache-license]: https://opensource.org/licenses/Apache-2.0
[author-pic]: https://avatars2.githubusercontent.com/u/36519478?s=460&v=4
[author-github]: https://israel-laguan.github.io
[author-linkedin]: https://www.linkedin.com/in/israellaguan
[author-email]: mailto:[email protected]
[linkedin-icon]: https://img.icons8.com/color/20/000000/linkedin.png
[email-icon]: https://img.icons8.com/color/20/000000/message-squared.png
[banner]: https://github.com/Israel-Laguan/Israel-Laguan/raw/master/docs/banner.jpg
[app-banner]: docs/app-banner.png
[app-icon]: https://img.icons8.com/doodle/48/000000/cooking-book.png
[icons8]: https://icons8.com/
[icons8-logo]: https://img.icons8.com/fluent/20/000000/icons8-new-logo.png
[api-logo]: https://spoonacular.com/images/spoonacular-logo-b.svg[react-url]: https://reactjs.org/
[css-url]: https://www.w3schools.com/css/
[javascript-url]: https://devdocs.io/javascript/
[framework-url]: https://redux.js.org/
[bootstrap-url]: https://getbootstrap.com/docs/4.1/getting-started/introduction/