Vzdělávejte se mimo lavice. Nechte se provést atraktivními lokacemi, vyřešte mnoho výzev a objevte nejednu geografickou zajímavost s bezplatnou mobilní aplikací.
Go to file
Ludvík Prokopec ca038956a3 update realtime database subscribers 2022-12-01 21:08:27 +01:00
.vscode init 2022-12-01 12:25:45 +01:00
appwrite init 2022-12-01 12:25:45 +01:00
public init 2022-12-01 12:25:45 +01:00
src update realtime database subscribers 2022-12-01 21:08:27 +01:00
.editorconfig init 2022-12-01 12:25:45 +01:00
.gitignore init 2022-12-01 12:25:45 +01:00
.prettierrc init 2022-12-01 12:25:45 +01:00
LICENSE init 2022-12-01 12:25:45 +01:00
README.md update realtime database subscribers 2022-12-01 21:08:27 +01:00
appwrite.sh init 2022-12-01 12:25:45 +01:00
index.html init 2022-12-01 12:25:45 +01:00
jsconfig.json init 2022-12-01 12:25:45 +01:00
package-lock.json init 2022-12-01 12:25:45 +01:00
package.json init 2022-12-01 12:25:45 +01:00
postcss.config.cjs init 2022-12-01 12:25:45 +01:00
tailwind.config.cjs init 2022-12-01 12:25:45 +01:00
tsconfig.json init 2022-12-01 12:25:45 +01:00
vite.config.js init 2022-12-01 12:25:45 +01:00

README.md

Svelte + Appwrite = 🚀

Blazing fast development with done backend and fully-prepared frontend.

Frontend included:

  • tailwind
  • scss
  • typescript
  • routing
  • ready routes
  • oauth
  • folder structure
  • common components
  • simple icons
  • service worker
  • path aliases
  • database realtime subscribers
  • vite

Included:

  • prettier
  • editorconfig

Database subscribers

  <script>
    import { createCollectionSubscriber } from '$lib/database'
    import Layout from '$lib/components/Layout'

    const subscriber = createCollectionSubscriber('[database-id]', '[collection-id]')
    // listen changes in database and automatically rerender on change
    // current data = { name: 'John', lastName: 'Doe' }
  </script>

  <Layout>
    {$subscriber ? $subscriber[0].name : ''}
  </Layout>