SveltNativeFirestore-rest

Sveltnativefirestore Rest

Simple firestore rest svelte-native implementation

Svelte Native Firestore

This is a simple App for IOS/Android that connects to firebase/firestore with a fetch call to the build-in REST API.

It uses the svelte-native framework to build a native application. Svelte-Native is build on top of Nativescript, so you need to go through the setup guide there in order to install the TNS CLI tools

Set up

npm install
tns run [ios|android]

Project structure

This is a single page application. Everything is handled in app/App.svelte. This file...

  • fetches data from firestpre in the svelte onMount function
  • uses a scrollView
  • you are not able to do anything further with the items - i.e delete, update and add - so the example just serves as a demo of how you can include firestore data in a simple app

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes