See the demo.
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
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
yarn install
yarn start
This app uses the following technologies:
The application is built using tests, including the fantastic enzyme and chai libraries. To run the tests, use the yarn
test script:
yarn test