This repository contains the a simple web application front-end application, built with React.js, called Places
. The Places
front-end communicates with a back-end API project (which should already be up and running when this app is started).
To start and run this application you need to execute the following commands within the root folder of this repo.
-
Install the Node.js packages (dependendies) for the app.
$ npm install
-
Add your Google API Key to a new environmental (called
.env
) file to the root of this project.$ touch .env
Then add the key
REACT_APP_GOOGLE_API_KEY
.REACT_APP_GOOGLE_API_KEY=<google_api_key_here>
Note: The
REACT_APP_GOOGLE_API_KEY
environmental variable is used here. -
Run the the app, which will available via http://localhost:3000.
$ npm start
This repo is configured as a git submodule within the following repos: