Firebase dart common interface and implementation for Browser, VM, node and flutter

Overview

firebase.dart

Firebase dart common interface and implementation for Browser, VM, node and flutter

Firebase Initialization

Usage in browser

import 'package:tekartik_firebase_browser/firebase_browser.dart';

void main() {
  var firebase = firebaseNode;
  // ...
}

Usage on node

import 'package:tekartik_firebase_node/firebase_node.dart';

void main() {
  var firebase = firebaseNode;
  // ...
}

Usage on flutter

dependencies:
  tekartik_firebase_flutter:
    git:
      url: https://github.com/tekartik/firebase_flutter.dart
      path: firebase_flutter
      ref: dart2_3
    version: '>=0.3.9'
import 'package:tekartik_firebase_flutter/firebase_flutter.dart';

void main() {
  var firebase = firebaseFlutter;
  // ...
}

Usage on sembast (io simulation)

import 'package:tekartik_firebase_sembast/firebase_sembast_io.dart';

void main() {
  var firebase = firebaseSembastIo;
  // ...
}

App initialization

var options =  new AppOptions(
    apiKey: "your_api_key",
    authDomain: "xxxx",
    databaseURL: "xxxx",
    projectId: "xxxx",
    storageBucket: "xxxx",
    messagingSenderId: "xxxx"); 
var app =  firebase.initializeApp(options);
  // ...
}

Firestore access

var firestore = app.firestore();
// read a document
var data = (await firestore.doc('collections/document').get()).data;
// ...

Storage access

Experimental, not fully implemented yet

var storage = app.storage();
// ...
You might also like...

you can open google browser in your app

flutter_open_browser A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

Nov 14, 2021

A dart package for many helper methods fitting common situations

Basic Utils A dart package for many helper methods fitting different situations. Table of Contents Basic Utils Table of Contents Preamble Install pubs

Jan 5, 2023

Skribbl.io clone with Flutter, Node, Express and MongoDB (Mongoose)

Skribbl.io clone with Flutter, Node, Express and MongoDB (Mongoose)

Skribbl.io Clone This is the code for Skribbl.io Clone developed with Flutter, Node.js, MongoDB along with Mongoose! Youtube I have created a tutorial

Dec 5, 2022

This is a simple responsive TicTacToe game using Flutter, Node.js, Express, Socket.io, and Mongoose.

This is a simple responsive TicTacToe game using Flutter, Node.js, Express, Socket.io, and Mongoose.

OnlineMultiplayerTicTacToe This is a simple responsive TicTacToe game using Flutter, Node.js, Express, Socket.io, and Mongoose. Project Setup clone Re

Oct 8, 2022

NearTurf is a turf booking app that helps you find the best turf near you and book more slots. Created by using flutter , Node js

Near Turf A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Oct 26, 2022

Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight Node.js based Bhagavad Gita API [An open source rest api on indian Vedic Scripture Shrimad Bhagavad Gita].

Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight Node.js based Bhagavad Gita API [An open source rest api on indian Vedic Scripture Shrimad Bhagavad Gita].

Gita Bhagavad Gita flutter app. Download App - Playstore Web Application About Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight No

Apr 5, 2022

A new Flutter widget that add support for AndroidTV app. Using keyboard to control focus node.

A new Flutter widget that add support for AndroidTV app. Using keyboard to control focus node.

flutter_tv_autofocus A new Flutter widget that add support for AndroidTV app. Using keyboard to control focus node. Getting Started Wrap your flutter

Aug 18, 2022

🌰🌰 [BLOC_PATTERN] [RXDART] [STREAM] 🍄🍄 Simple auth app flutter, server node.js, BLoC pattern, RxDart 🍁🍁 Functionalities: LOGIN, REGISTER, CHANGE PASSWORD, CHANGE AVATAR, FORGOT PASSWORD. Pure rxdart BLoC pattern. BLoC pattern without library.

🌰🌰 [BLOC_PATTERN] [RXDART] [STREAM] 🍄🍄 Simple auth app flutter, server node.js, BLoC pattern, RxDart 🍁🍁 Functionalities: LOGIN, REGISTER, CHANGE PASSWORD, CHANGE AVATAR, FORGOT PASSWORD. Pure rxdart BLoC pattern. BLoC pattern without library.

node_auth #node-auth-flutter-BLoC-pattern-RxDart ❄️ ❄️ BLoC pattern rxdart stream 🐋 🐋 Simple auth app flutter, server node.js, BLoC pattern, RxDart

Dec 29, 2022

Multiplayer TicTacToe Game developed using Flutter, Node.js, Express, MongoDB & Mongoose.

Multiplayer TicTacToe Game developed using Flutter, Node.js, Express, MongoDB & Mongoose.

Multiplayer TicTacToe Game A completely Responsive Multiplayer TicTacToe Game- Works on Android, iOS, Web & Desktop! Features Create/Join Room Play Re

Dec 25, 2022
Owner
Tekartik
Mobile & Web development
Tekartik
Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur

❤️ Sponsor get_it This is a simple Service Locator for Dart and Flutter projects with some additional goodies highly inspired by Splat. It can be used

Flutter Community 1k Jan 1, 2023
Official Sonr Blockchain Node implementation with Frontend Clients to access Wallet.

Sonr Blockchain Sonr-Chain is a blockchain built using Cosmos SDK and Tendermint and created with Starport. Get started starport chain serve serve com

Sonr 625 Dec 29, 2022
Bhargav Reddy 10 Nov 12, 2022
A revolutionary new browser. HTML to Flutter transpiler. Written in Go (using Dart FFI) and Flutter.

Flutter Browser An experimental HTML & CSS to Flutter transpiler written in Go, using Dart FFI and Flutter. Screenshots Notice This works great for si

Mitja 12 Oct 24, 2022
(Full-stack) Fully functional social media app (Instagram clone) written in flutter and dart with backend node.js and Postgres SQL.

Photoarc A Fully functional social media app written in flutter and dart using node.js and Postgres SQL as backend. Backend Repository Demo Download t

Ansh rathod 59 Jan 5, 2023
Flutter-Musive-app - Full-stack music player app written in flutter and dart using node.js music API

Musive Full-stack music player app is written in flutter and dart using node.js

Ansh rathod 69 Dec 28, 2022
Weather app using Bloc architecture pattern & generic HTTP client with interface implementation and much more for more detail read Readme

weather Weather application for current weather, hourly forecast for 48 hours, Daily forecast for 7 days and national weather alerts. How to Run Insta

Jibran Ahmed SiddiQui 9 Oct 29, 2022
A google browser clone which is made by using flutter and fetching the google search api for the search requests.

google_clone A new Flutter project. Project Preview Getting Started This project is a starting point for a Flutter application. A few resources to get

Priyam Soni 2 May 31, 2022
M.Yavuz Yagis 3 Feb 21, 2022
An E-Commerce application developed on Flutter, which helps to run the app on Android / IOS / Windows's OS / MacOS / Web Browser from a single codebase

BuySmart An E-Commerce application developed on Flutter, which helps to run the app on Android / IOS / Windows's OS / MacOS / Web Browser from a singl

Sumit Kumar 11 Oct 10, 2022