Frontier is an app that lets you give it your location and then returns a list of accessible resources nearby. For example, it might tell you the nearest open restaurants, the nearest open gas stations, the nearest public wifi hotspots, the nearest public restrooms, or the nearest open towing/mechanic shops.
This project is built using node.js. It uses the express web application framework on the backend to serve the website and provide APIs for the website to access data. The frontend is built using React & Bootstrap. The frontend assets are compiled using the Webpack module bundler and Babel compiler to allow the use of JSX and next generation Javascript features.
- install node.js on your computer
- setup git on your computer
- clone this repository:
git clone https://github.com/codeforhuntsville/Frontier.git
npm install
in the cloned directory to install the required packages- obtain a Google Places API Key (see instructions below)
- copy the file
config/default.js
toconfig/local.js
, then fill in thegooglePlacesApiKey
property value with your key npm start
to run the server
We use the Google Places API as a source for some of the data in Frontier. In order to make requests to the API, you must obtain an API key and configure Frontier to use it.
- Navigate to the Google Developers Console
- Create a new project, (e.g. "Frontier")
- Select APIs on the left
- Click "Google Places API Web Service" under the "Google Maps APIs" section
- Enable the API
- Go to "Credentials" on the left
- Create a new "Public API Access" "Server" key. Don't worry about IP restrictions for now
- Plug this key into the config in Frontier.
- We use Waffle to project-manage Frontier. Create/view tasks here.
- We chat about Frontier/Code for Huntsville on Slack. Join Slack here.
- We use the wiki to keep track of notes and resources. View the Wiki.
- We meet every Wednesday night to work on Frontier. Meetups are organized here.