Giter Site home page Giter Site logo

vogler / tasktime-2019 Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 720 KB

Sample task/time-tracking web-app to evaluate Svelte (reactive UI), Firebase (auth, hosted real-time document store), Bulma (CSS)

Home Page: https://github.com/vogler/web-tech

CSS 6.71% HTML 2.74% JavaScript 34.89% Svelte 55.67%
svelte firebase firebase-auth firebase-firestore firestore todo todoapp timer time-tracker time-tracking-app

tasktime-2019's Introduction

tasktime_svelte-firebase

This is a test project building some todo/time-tracking app using:

Try it at https://fire-abc6b.web.app/

Evaluation: not too happy with Svelte, Firebase is ok. Don't like Bulma since you have to add classes to everything and it has some strange defaults like making all headings h1, h2... look the same unless you add more redundant class names...

Cons Svelte:

  • no Typescript yet (or hard to setup)
  • editor support (no Intellisense for JS in .svelte files)
  • limited composability, file for every component
  • element list problem:
    • immutable forces to handle all edits in list component instead of element component
    • mutable allows to move functions into element component but makes all elements react to change in any element

Pro Firebase:

  • easy authentication (and restricted db access via firestore.rules)
  • Firestore:
    • real-time (can subscribe to updates)
    • offline support (even sync between tabs)

Cons Firebase:

  • vendor lock-in
  • can't test offline (firebase serve launches some server, but no local database)
  • limits; what happens for >1 write/s, just queued/throttled?
  • https://firebase.google.com/docs/firestore/quotas
    • per day: 1GiB, 50k read, 20k write -> 13.88 writes/min
    • soft limit: >1 write/s: increased latency/conflicts

More notes in devlog.md.

develop

npm install
npm run dev

Open in browser; has live-reload.

tasktime-2019's People

Contributors

dependabot[bot] avatar vogler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gtechsltn

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.