no-name-max / react-yelp-clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Yelp Clone

See the demo.

Quickstart

First, clone the repository:

git clone https://github.com/ahmed-belhadj/react-yelp-clone.git react-yelp-clone
cd react-yelp-clone

# install the dependencies
yarn install

# copy configuration (see below)
cp .env.example .env

# start the server
yarn start

Configuring the Application

This app uses dotenv for configuration. In order to configure the application for your own api access, grab an api token from Google here and set it in a file called .env at the root for a key called __GAPI_KEY__. For instance, say that your gapi key is: abc123. Your .env file should look like:

GAPI_KEY=abc123

You can also create this file by copying the .env.example file at the root:

cp .env.example .env

Starting the Application

yarn install
yarn start

Libraries Used

This app uses the following technologies:

Running the Tests

The application is built using tests, including the fantastic enzyme and chai libraries. To run the tests, use the yarn test script:

yarn test

License

MIT

About

License:MIT License


Languages

Language:JavaScript 84.7%Language:CSS 14.8%Language:Shell 0.5%