Skip to content

Instantly share code, notes, and snippets.

View sknavilehal's full-sized avatar

Shamanth Kumar sknavilehal

View GitHub Profile
const functions = require('firebase-functions');
const express = require('express');
const admin = require('firebase-admin');
const cors = require('cors');
const helmet = require('helmet');
const app = express();
// Middleware
app.use(helmet());

Rapid Response Team (RRT)

  1. Purpose of the App
    Rapid Response Team (RRT) is a community-driven emergency alert application that enables a person in distress to instantly notify nearby people within the same district and receive rapid assistance.

  2. First-Time App Usage (Minimal Onboarding)
    On first-time app usage only, the user is required to fill a simple form:

  • Name
  • Mobile number
services:
drone-server:
image: drone/drone:2
container_name: drone-server
environment:
- DRONE_GITHUB_CLIENT_ID=oauth-client-id
- DRONE_GITHUB_CLIENT_SECRET=oauth-client-secret
- DRONE_RPC_SECRET=your-rpc-secret
- DRONE_SERVER_HOST=ip-or-hostname:port
- DRONE_SERVER_PROTO=http