Skip to content

Commit

Permalink
Run firebase init
Browse files Browse the repository at this point in the history
  • Loading branch information
samtstern committed Apr 9, 2019
1 parent f3320e3 commit 62379dd
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 1 deletion.
65 changes: 65 additions & 0 deletions quickstarts/uppercase-firestore/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
firebase-debug.log*

# Firebase cache
.firebase/

# Firebase config

# Uncomment this if you'd like others to create their own Firebase project.
# For a team working on the same Firebase project(s), it is recommended to leave
# it commented so all members can deploy to the same project(s) in .firebaserc.
# .firebaserc

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
7 changes: 6 additions & 1 deletion quickstarts/uppercase-firestore/firebase.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}
4 changes: 4 additions & 0 deletions quickstarts/uppercase-firestore/firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"indexes": [],
"fieldOverrides": []
}
8 changes: 8 additions & 0 deletions quickstarts/uppercase-firestore/firestore.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
service cloud.firestore {
match /databases/{database}/documents {
match /messages/{message} {
// Allow authnticated users to read/write the messages collection
allow read, write: if request.auth != null;
}
}
}
1 change: 1 addition & 0 deletions quickstarts/uppercase-firestore/functions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/

0 comments on commit 62379dd

Please sign in to comment.