GithubHelp home page GithubHelp logo

kaindljulian / appointments-pwa Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 3.0 3.43 MB

Serverless Angular PWA using some Firebase features and Google APIs

Home Page: https://appointments-pwa.firebaseapp.com/

License: MIT License

JavaScript 1.43% TypeScript 61.88% HTML 21.84% CSS 14.84%
angular7 material2 virtual-scroll firebase firebase-authentication firestore firebase-functions firebase-hosting serverless realtime

appointments-pwa's Introduction

Appointments PWA Build Status Depfu

Serverless Angular PWA using some Firebase features and Google APIs

Website: https://appointments-pwa.firebaseapp.com

System

system-architecture

Firebase

  • Email/Password
  • Google
  • Data structure
  appointments/{appointmentId}: {
      title,
      body,
      date,
      author: {name, email, photoURL},
      attendees: [{name, email, photoURL}, ...]
  },
  users/{uid}: {
      name, 
      email, 
      photoURL
  }

One function to send Push Notifications. (src)

  • Listens for created appointments in Firestore (onCreate trigger)
  • Reads all attendees of the appointment that are actual users (not google contacts)
  • Sends a Notification to the users via their fcmToken and the client side angular service will do the rest

fcmSteps

🔥 Hosting

Deploying the build with firebase deploy or from travis

Google APIs

The Google login with their api client includes scopes for following Google APIs

  • People API (/contacts/readonly)
  • Google Calendar API (/auth/calendar)

Getting started

Clone the repository

git clone https://github.com/KaindlJulian/appointments-pwa.git

Install dependencies

npm install

Development server

ng serve --open

appointments-pwa's People

Contributors

kaindljulian avatar

Stargazers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.