Skip to content

NazimHAli/firebase-forum

Repository files navigation

firebase-forum

Build Status Issues Commitizen Friendly Semantic Release

Lightweight, performant discussion forum built with Svelte, Firebase, Firestore lite using yarn 2 workspaces. The goal is to build a fully functional discussion forum using Firebase.

Features

  • Svelte
  • Vite bundler
    • Code splitting + Lazy loading
  • firestore-lite
    • Cached data bundles
      • Working single bundle version - WIP
  • Firebase authentication
    • Google sign in/out
  • Firebase emulator setup + mocked data for quick local development
  • Materialize CSS
  • Forum
    • Log in/out
    • Create threads - logged in users
    • Add comments - logged in users

Screenshot

ff-ss-1

Install & Setup

Required

  1. Firestore setup & security overview
  2. git clone https://github.com/NazimHAli/firebase-forum.git
  3. yarn install
  4. Firebase environment variables
    • Should have these veriables after completing the first step
    • Copy .env.example to .env.local

Optional

  1. Setup Firebase emulator suite
    • Contains mock data to help get started
  2. yarn buildall
  3. Console 1 - yarn emu
  4. Console 2 - yarn dev

Deployment - any static host

  1. Firebase hosting
    • firebase deploy --only hosting
  2. Vercel - DEMO

TODO

  • Live collection subscriptions
  • Cache data bundles - WIP
  • Modify comments
  • Modify threads
  • Figure out a good theming architecture/workflow

Similar projects

About

Lightweight, performant discussion forum built with Svelte, Firebase, Firestore lite, yarn 2 workspaces.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published