nightness / cloud-lightning-pwa

ReactJS and BlueprintJS in a PWA. Does not use cloud functions (only security rules), so it can be used on the free tier of Firebase. Securely supports 2-party WebRTC. There is also a Tetris, TicTacToe and ConnectFour game. Friends, messaging and chat rooms are next.

Home Page:https://cloud-lightning-lite.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud Lightning PWA

This project is an attempt to build a social media platform with only Firestore rules, so that it's Firebase free tier accessible. Explore Firebase without giving Google your credit card number.

You can visit the live site @ Cloud Lightning PWA

Setup

npm i -g firebase-tools
yarn

Configure

  1. Setup a new (or use and existing) firebase project. I also recommend that you double check project settings right away.
  2. Click on the 'web button' above the Add an app to get started text.
  3. Give your app an arbitrary nickname and click the Register App button.
  4. From the CLI, in the project folder, type firebase init to change to your project, or update .firebaserc with your project's name.
  5. Replace my firebaseConfig in src/database/Firebase.ts with yours.
  6. Build and deploy: yarn build && firebase deploy
  7. Create a src/private.ts file with the following contents:
    export const clientId = "xyzSomeRandomString"; // This is the clientId for your app from spotify
    

Start Locally

yarn start

About

ReactJS and BlueprintJS in a PWA. Does not use cloud functions (only security rules), so it can be used on the free tier of Firebase. Securely supports 2-party WebRTC. There is also a Tetris, TicTacToe and ConnectFour game. Friends, messaging and chat rooms are next.

https://cloud-lightning-lite.web.app

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 91.1%Language:CSS 7.8%Language:HTML 1.1%Language:JavaScript 0.1%