A simple React app to help you decide whether to wait for the bus, or hoof it.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
client
routes
.gitignore
README.md
app.js
package-lock.json
package.json

README.md

SEPTA, where you at?

A simple React app to help you decide whether to wait for the bus, or hoof it.

This is single page application that uses the Google Maps API and the SEPTA API. The app uses a small Express app that serves as an API endpoint for the React app (additional routes to the Express API are likely in future development).

The Express app lives in the root directory, and the React app lives in the /client directory.

Caveat lector imitatorque: this is my very first Node / React app.

Prerequisites

node
npm

Setup

git clone git@github.com:webolton/septa-react-app.git
cd septa-react-app
npm install
cd client
cp .env.example .env

enter a real Google Maps API Key in the .env file

npm install

Run the app in development mode

SET DEBUG=wheres-septa-react-express:* & npm run devstart

then open another terminal or tmux buffer and

cd client
npm start