Skip to content

firelayer/starter-template

Repository files navigation

Firelayer

Firelayer Documentation

Documentation Website

Installation Guide

You can use an existing Firebase project or create a new project on the Firebase Console.

Follow the guide on preparing a Firebase project for Firelayer Setting up Firebase - Guide

Starting in a new project

firelayer init new-project -t starter

Adding to a current firelayer project

firelayer add:template starter

Adding a landing page to this template

If you wish to add a landing website. You can do so by adding the landing template:

firelayer add:template landing

Quick Start

After Install

To start run yarn dev or npm run dev and the three applications should be ready on:

ports may change if already in use by other services

Adding an Administrator

  1. Follow the steps on Getting Started to add a Service Account key to your project so you can run Firelayer CLI helpers.

  2. If you don't have any users on this Firebase Project you can always create a new one using the firelayer CLI or on the Firebase Console. firelayer auth:add -u emailofuser@example.com -p password123

  3. Add Administration privileges to user: firelayer auth -u emailofuser@example.com --set-admin

And now you can login on the administration dashboard - http://localhost:8081

Content

  • Express API
  • User management
  • Triggers examples
  • Scheduled jobs examples
  • Firebase Users Management
  • Send auth emails with SendGrid
  • Vue & Vuetify Components

Development

Starter template is organized as a monorepo using Lerna and yarn workspaces. Useful scripts include:

yarn bootstrap

Installs package dependencies and links packages together - using lerna and yarn workspaces

yarn build

Cleans the previous builds and starts building on all sub packages - using lerna run build

yarn dev

Starts the dev mode on all sub packages - using lerna run dev

License

Firelayer is open-sourced software licensed under the MIT license.