GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — quickstart-java/database at master · uurtsaikh0904/quickstart-java

Expand file tree

/

database

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

database

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
gradle/wrapper
gradle/wrapper
 
 
src/main/java/com/google/firebase/quickstart
src/main/java/com/google/firebase/quickstart
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

README.md

Outline

Firebase Java Realtime Database Quickstart

The Java Firebase Database quickstart demonstrates how to connect to and use the Firebase Realtime Database using Java through a simple social blogging app. It will interoperate with the Web, iOS and Android database quickstarts.

This server will:

  • Update the star counts for all posts.
  • Send notifications when a post has been stared.
  • Run weekly job listing the top 5 posts.

Introduction

  • Read more about Firebase Database

Getting Started

  • Create your project on the Firebase Console.
  • Create a service account as described in Adding Firebase to your Server and download the JSON file.
    • Copy the json file to this folder and rename it to service-account.json.
  • Change the DATATBASE_URL variable in Database.java to be the URL of your Firebase Database.

Run

  • From the database directory run ./gradlew build run to start run the quickstart.
  • Configure and run one of the Database quickstarts for Web, iOS or Android. Then use one of these apps to publish new posts: you should see console output when one of your posts have received a new star and the starred counter should be kept up to date by the app.

Support

https://firebase.google.com/support/

License

© Google, 2016. Licensed under an Apache-2 license.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.