ca038956a3 | ||
---|---|---|
.vscode | ||
appwrite | ||
public | ||
src | ||
.editorconfig | ||
.gitignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
appwrite.sh | ||
index.html | ||
jsconfig.json | ||
package-lock.json | ||
package.json | ||
postcss.config.cjs | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.js |
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>