jjgumucio / miniguerreros-firebase

Web app de Fundación MiniGuerreros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A starter template for SvelteFire.

1. Degit the Template

npx degit codediodeio/sveltefire-template fireapp
cd fireapp
npm install

2. Get a Firebase Project

Create a Firebase project at https://firebase.google.com/ and grab your web config:

Opt-in to the following services from the Firebase console to run the demo.

  1. Anonymous Login under authentication -> sign-in method
  2. Cloud Firestore under database. Make sure it's in test mode (or provide write access to the posts/ collection using Security Rules).

3. Update the Firebase Config

Open App.svelte and replace the firebaseConfig prop with your Firebase project credentials.

let firebaseConfig = {
  // Insert Firebase Credentials here
};

Run it:

npm run dev

You should see something like this:

sveltefire demo app

Forked from the official --> sveltejs/template

About

Web app de Fundación MiniGuerreros


Languages

Language:Svelte 96.7%Language:JavaScript 2.0%Language:CSS 0.7%Language:HTML 0.3%Language:TypeScript 0.3%