Giter Club home page Giter Club logo

umami's Introduction

Umami

Netlify Status

This project was bootstrapped with Create React App.
It uses the Yelp Fusion API
It uses cors-anywhere to proxy requests for local development Cors-Anywhere

A simple SPA for interacting with the Yelp API focused on restaurants.

Local Development

When running locally, corsAnywhere is used to proxy requests. This limits requests and you may encounter occasional errors as a result.

Yelp API Key Setup

Set your Yelp API key as an environment variable on your local machine. Create a file in your root project directory called .env. In that file type (n.b. no spaces):

REACT_APP_YELP_API_KEY=your-api-key-goes-here

Never share your API key in public such as in a git repository.

Running

In your terminal

yarn
yarn start

You can view the app by navigating to http://localhost:3000/ in your browser.

Deploying on Netlify

Ensure that you have set up your API key as an environment variable for your site on Netlify. The configuration file netlify.toml will handle proxy redirects for the Yelp API.

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.