globe-and-citizen / gc-web

Globe & Citizen : The company Website
http://globeandcitizen.com/
2 stars 1 forks source link

Cursory NodeJS backend. #12

Open stravid87 opened 1 month ago

stravid87 commented 1 month ago

Description

The purpose of this project issue is to create a cursory NodeJS backend whose purpose is two: 1) to act as the api that will render the Real Life Business Adventure. 2) to stress test Layer8 by putting media rich content through it. 3) to test run the OAuth flow 4) to act as our company website

Timeline

Goal is to have something deployed by September.

Acceptance criteria

1) When a user navigates to https://globeandcitizen.com/, they see a boring company website: all html text

2) When a user opens, the Developer Console and calls the global function breakThrough(), they are presented with a popup that invites them to log in with layer8. If they do, they are redirected to blank page that serves five, full viewing port JPEGs, one after the other as the user scrolls down.

If I am on a mobile device, I can invoke the global function "breakThrough()" by clicking a normal looking html word that is, actually, a hidden button.

User Story

As a: member of the general public I want to: see and read the "real-life-business-adventure" When I: invoke the function 'breakthrough()' in the developers console I get: to login (or sign up) with layer8 to see the pictures rendered.

stravid87 commented 1 month ago

July 15 - 21

Done: The interceptor works in Typescript, the tunnel opens. The first, cursory iteration is written. Now needed are testing, and completion, and error checks.

stravid87 commented 1 month ago

July 30 Next Steps

  1. Better path than "Hidden"
  2. Route control / authorization on the "Hidden" part of the website
  3. Simple implementation of "https://codepen.io/GreenSock/pen/YzbPYMx" when the user "breaks through."
  4. Creative "puzzle" to unlock the webtoon for mobile users of the site.
stravid87 commented 1 week ago

Current progress here: https://github.com/globe-and-citizen/gc-web/tree/firhan/cursory-world