-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from TheDevPath/development
docs deploy
- Loading branch information
Showing
94 changed files
with
10,096 additions
and
3,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "airbnb-base", | ||
"env": { | ||
"node": true, | ||
"mocha": true, | ||
"jasmine": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,51 @@ | ||
# googleMaps-offline-navigator | ||
Open source project for Grow with Google Udacity Scholarship Challenge - Navigation app using offline first strategy and google maps api | ||
# Getting Started | ||
See the Guide on how to contribute [here](https://github.com/TheDevPath/googleMaps-offline-navigator/blob/development/CONTRIBUTING.md#how-to-contribute) for instructions on how to fork and set up your repository. | ||
|
||
# Installing Dependencies | ||
In the root directory of your newly cloned project `npm install` | ||
|
||
In the client directory of your project `npm install` | ||
|
||
Skip this next part if you know what you are doing | ||
|
||
--- | ||
|
||
Noob tip | ||
|
||
*If you can, "clone with `SSH` instead of clone with `HTTPS`. This means that, when you type in git remote add origin, you should use a link that looks like this: `[email protected]:*YOUR_USER_NAME/YOUR_REPO_NAME.git.*` Observe how that differs from* `https://github.com/YOUR_USER_NAME/YOUR_REPO_NAME.git`* | ||
While the first creates a remote that uses `ssh` authentication, the latter uses `https`, so it'll always prompt you to enter your username and password to authenticate the connection. For more see this [link](https://gist.github.com/juemura/899241d73cf719de7f540fc68071bd7d)* | ||
|
||
--- | ||
|
||
# Get Google Maps API key | ||
|
||
- In the config subdirectory you will find secrets-*example.json. *Copy it's contents to a new file called secrets.json in the same directory*. | ||
|
||
- Next get a [Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) | ||
|
||
- Click on the button | ||
|
||
- This will take you through the process | ||
|
||
- Note: If you have an existing API key, you may use that key. | ||
[Detailed instructions](https://developers.google.com/maps/documentation/javascript/get-api-key) | ||
|
||
- Open `secrets.json` and under googlemaps, paste your API key and save | ||
|
||
# Install mongodb | ||
|
||
You also need to install and have running mongoDB - Directions can be found [here](https://docs.mongodb.com/manual/installation/) | ||
|
||
# Update and run | ||
|
||
When installation has completed go to where you installed the project and run `npm install` again to install the root and client dependencies. This will update the file package.json in the root of your project. | ||
|
||
When finished, in the project's root directory type `npm run dev`. This will start the dev servers on `localhost:8080` & `localhost:8081` respectively | ||
|
||
|
||
# About googleMaps-offline-navigator | ||
|
||
This is an open source project for Grow with Google Udacity Scholarship Challenge - Navigation app using offline first strategy and google maps api | ||
|
||
The idea for this project is to build a progressive web app utilizing the technologies learned in the Grow with Google Udacity Scholarship challenge. | ||
|
||
|
@@ -9,6 +55,17 @@ The stack - this will be a node app utilizing Preact for the front end. | |
|
||
Pull requests are welcome! | ||
|
||
## Table of Contents | ||
|
||
- [Main Goal](#main-goal) | ||
- [Features](#features) | ||
- [About the application](#about-the-application) | ||
- [Where to get the files](#where-to-get-the-files) | ||
- [Key files included](#key-files-included) | ||
- [Requirements](#requirements) | ||
- [ToDo](#todo) | ||
|
||
|
||
## Main Goal | ||
|
||
The main goal of the app is to provide the user with a map interface that they can use on their mobile device and that will continue to be useful in poor to no signal environments. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "airbnb", | ||
"plugins": [ | ||
"react", | ||
"jsx-a11ly", | ||
"Import", | ||
"react-compat" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const SECRETS = require('../../config/secrets.json'); // nodejs will auto read json | ||
|
||
module.exports = { | ||
GOOGLE_API_KEY: SECRETS.google_maps.api_key, | ||
APP_NAME: 'Map-e' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./prod.config.js'); | ||
} else if (process.env.NODE_ENV === 'test') { | ||
module.exports = require('./test.config.js'); | ||
} else { | ||
module.exports = require('./dev.config.js'); | ||
} |
Oops, something went wrong.