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 — GitHub - coffiasd/realtime-notifications-frontend

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
components
components
 
 
hooks
hooks
 
 
pages
pages
 
 
public
public
 
 
services
services
 
 
styles
styles
 
 
.env
.env
 
 
.env.production
.env.production
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
next.config.js
next.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
tailwind.config.js
tailwind.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Overview

This is gitcoin hackathon project.We built an algoland blockchain realtime notifications server.

flow-chart

alt Flowchart

front-end

alt Flowchart

tech stack

  • nextJS
  • tailwindcss
  • daisyUi
  • vercel platform

We built frontend page using next.js and tailwindcss.After all job done we will deploy frontend codes on vercel platform.

Step by step to subscribe the blockchain events.

-1.Connect Wallet(WalletConnect && Pera Algo Wallet) -2.Save Notify Device ID(see the details below) -3.Subscribe Events -4.Wait for Notifications

Afert all steps done when you trigger events like send token or receive token from faucet you will receive pushed notifications in your mobile app, it's realtime.

clike me to view the front-end website

How do i get the notify push ID ?

We push message to our user via a mobile app named pushover. You can download the app through the links below.

  • Andriod Download Link
  • IOS Download Link
  • Website

After you download the app go to setting page you will find the "PUSHOVER USER KEY". This key is actually what we want. We will use this key on our front-end page so you need to copy it down anyway.

alt PUSHID

back-end

Back-end github source https://github.com/coffiasd/realtime-notifications-backend

tech stack

  • golang
  • gin framework
  • aws server

http api document

view http api document through POSTMAN alt postman

Below is a document tree of my golang back-end sourcecode.

├─api(http protocol)
├─conf(toml config file)
├─config(parse config file)
├─cron(fetch blockchain server)
├─events(some events)
├─logs(server logs)
├─middleware(redis middleware)
├─router(router)
└─utils(common functions)

We build back-end using golang and GIN framework at the same time.This golang server provide a http protocol for our front-end clients to subcribe events or unsubcribe events. In this demo we only provide 2 kind of events.First is receive event when your wallet address receive some token we will send a message to your mobile through the app i mention above named "pushover". Make sure you already installed the app .And the second event is send event when your wallet address successfuly send some token to other account you will receive the app push message. It's very convenient.All of our users need to do is just login through mobile wallet like "Pera" and click some buttons. If you get any question feel free to contrct me. You can also find me in twitter @coffiasse

youtube

Youtube video address Link

About

realtime-notifications-frontend.vercel.app

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — 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.