Giter VIP home page Giter VIP logo

open-meals's Introduction

๐Ÿ› open-meals

CircleCI license code style: prettier jest

Demo

Catalog of meals for you to search and browse your next meal

How to contribute

Getting the project

To contribute to this project, first you need to get it. To do so, perform the following commands:

git clone https://github.com/bruno02221/open-meals.git
cd open-meals
npm install

Running local server

To start a local development server with hot-reload capability, run:

npm run dev

This will run a local server with hot-reload capabilities.

Running unit tests

  • To run tests:
npm run test
  • To watch tests:
npm run test:watch

Building

To build the production ready product, run:

npm build

This command will generate the production ready bundled files in the dist folder.

Credits

This application is able to exist thanks to themealdb.com api.

License

MIT License

open-meals's People

Contributors

imbrn avatar

Stargazers

Miftah Faris avatar M Haidar Hanif avatar  avatar Karine Figueiredo avatar

Watchers

 avatar  avatar

open-meals's Issues

Fix MealScreen test

In the test renders related meals, change the fetchRelatedMeals property by api mocking.

Fix MealScreen

Make MealScreen a functional 'dumb' component. It should call the api.fetchRelatedMeals inside the component function body.

Fix API structure

Back the API structure to a simpler approach using withApi, it's no longer necessary to worry about the mocking in the tests, because that was solved in another approach.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.