Skip to content

beliolfa/stayathomework

Repository files navigation

Stay At Homework

image image

Firebase Setup

  • Sign In into Firebase
  • Enable email/password Sign Up method
  • Enable database
  • Add security rules
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read;
      allow delete: if request.auth.token.email == resource.data.classroom + '@stayathomework.app';
      allow create, update: if request.auth.token.email == request.resource.data.classroom + '@stayathomework.app';
    }
  }
}

Build Setup

# install dependencies
$ yarn install

# copy env and fill it out with your firebase settings
$ cp .env.example .env

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.

About

App for managing homework during Covid-19 lockdown. Demo build: https://stayathomework-dev.netlify.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages