Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
/ PrakarshApp Public archive

Application for annual Prakarsh Fest at SVIT, Vasad.

License

Notifications You must be signed in to change notification settings

itsarjunsinh/PrakarshApp

Repository files navigation

PrakarshApp

Application for Prakarsh XIII (2018) Fest.

This app uses JSON files from PrakarshJSON project hosted with Github Pages.

Screenshots

Home Screen with countdown Event Category Screen Event List Screen Event Info Screen About Prakarsh Screen Account Screen Social Media Updates Screen

Links

Watch App Demo | Play Store | Github Releases

Firebase Configuration

Prerequisites

Firestore Database Structure

users -> [Unique User ID] -> (fields) city, collegeName, department, email, name, phoneNumber

Create "users" collection using the Firebase console. The UUID documents and the details fields will automatically be generated from the client side.

newsfeed -> [FB Post ID] -> (fields) caption, date, imageUrl, time

All posts must be added manually. In the future the data will be fetched through a script.

Firestore Database Rules

service cloud.firestore {
  match /databases/{database}/documents {
    match /users/{userID} {
      allow create, update, read: if request.auth.uid == userID;
    }
    match /newsfeed/{document=**} {
      allow read;
    }
  }
}