Git Product home page Git Product logo

biryanify-food-order's Introduction

biryanify-food-order

An app for food delivery management

An android app that takes food order from Google form and lets you manage your inventory from the app.

Tech Stack:

Java

Firebase

AppScript

Writing an AppScript to send Google Form Response to Firebase to an Android App

This is a hack to get an ecommerce website for free. I had to come up with an ecommerce website within a week so I came up with this solution. 

When you are creating/editing your Google form, under the 'meat balls menu (thats how I like to call it) you'll find 'Script Editor'. This is where the script goes. 

You can have a look at the Google Form here.

Function of Script(Sequentially):

Store all the response in a variable

Then the variables are converted into a JSON

The JSON is then sent to my firebase database using AppScript library for Firebase

You can have a look at the script here.

Firebase:

Firebase is part of Google Cloud Platform that provides a realtime database for web and mobile applications. It stores data as Key-Value pair or JSON format which is similar to NoSQL (not same). So the form responses are sent as JSON object. Setting up firebase for android is very easy, search for firebase in Google.

Android:

The functions of the android app in a nutshell:

Everytime firebase receives a form response, the app receives a notification of new order placed. 

On tapping the notification, it opens up app to gives details of the orders such as name, address, email etc

On opening the app you can select the date for which you want to see the orders.

Orders for a date is seen as a list of items, and which individually if tapped on expands into the details of that particular order.

biryanify-food-order's People

Contributors

baymac avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.