/places-app-client

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).

Primary LanguageJavaScriptMIT LicenseMIT

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).

Build and run the app

To start and run this application you need to execute the following commands within the root folder of this repo.

  1. Install the Node.js packages (dependendies) for the app.

    $ npm install
  2. 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.

  3. Run the the app, which will available via http://localhost:3000.

    $ npm start

API Projects

This repo is configured as a git submodule within the following repos: