Skip to content

Commit

Permalink
add firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Dangerfield committed Oct 16, 2017
1 parent ac61f77 commit 89ddd4a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ node_modules
package-lock.json
dist
config.js
src/getData/*.json
.firebaserc
11 changes: 11 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"hosting": {
"public": "dist",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
{
"name": "familystuff",
"version": "1.0.0",
"description": "Get all details about family tree",
"main": "getDetails.js",
"name": "grave-mapper",
"version": "0.1.0",
"description": "Map the locations of burial places of ancestors, using the family search API",
"main": "main.js",
"scripts": {
"start": "webpack-dev-server --hot --open --inline",
"build": "rm -rf dist && webpack -p",
"fetchData": "node ./src/getData/getDetails.js && node ./src/getData/extractBurialPlace.js"
"prettier": "prettier --no-semi --single-quote --trailing-comma all --write ./src/*.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"es6-promisify": "^5.0.0",
"fs-js-lite": "^2.5.0",
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"requests": "^0.2.2"
"load-google-maps-api": "^1.0.0"
},
"devDependencies": {
"babel-core": "7.",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"load-google-maps-api": "^1.0.0",
"prettier": "^1.7.4",
"uglifyjs-webpack-plugin": "^1.0.0-beta.3",
"webpack": "^3.7.1"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ API key for the Google Maps Javscript API. You can get one [here](https://develo
API key for Family Search API. You can get one [here](https://www.familysearch.org/developers/).

### fsEnvironment
Which Family Search environment to use. It can *production*, *beta*, or *integration*.
Which Family Search environment to use. It can be either *production*, *beta*, or *integration*.


## Run it
First, run `npm install`, and then `npm run fetchData` to download all the ancestor's data from family search. Then, run `npm start` to start the web app, and go to a browser. It should automatically open the app in a new tab.
First, run `npm install`. Then, run `npm start` to start the web app, and go to a browser. It should automatically open the app in a new tab. If anything goes wrong, feel free to open an issue.

0 comments on commit 89ddd4a

Please sign in to comment.