/No-Queue

Materials for the Call for Code 2020 solution starter kit for community collaboration in the context of COVID-19.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

No-Queue : App based virtual queue management.

Authors

  • Sagar Jadhav
  • Noopur Nawage
  • Amitabh Prasad
  • Chinmay Samant
  • Manesh Nambiar

Contents

  1. Overview
  2. The idea
  3. How it works
  4. Diagrams
  5. Documents
  6. Technology
  7. Getting started
  8. Resources
  9. License

Overview

What's the problem?

With the Covid-19 situation affecting the entire world population, it is crucial that we maintain adequate social distancing amongst people in all situations. However in some cases this is not feasiable, especially in queues at Banks, supermarkets, clinics, etc.

What is needed is a solution that enables people to maintain a seamles queue based order, without actually having to physically stand in a queue and risk the spread of the Corona Virus.

How can technology help?

Mobile, web, and cloud services enable rapid deployment of applications that can be used for addressing such problems.

The idea

The goal is to provide a mobile application, that would not only let the end user's see the current size of the queue at a store/service-provider, but also pre-book a slot in the virtual queue. It would allow both "Suppliers" (such as a store, chemist, clinic, gas station, etc) to make people aware of their serving capacity; and consumers ("Recipients") to locate the current real time length of th queue, and even book a virtual place for themselves in the queue.

Diagrams

No-Queue architecture diagram

Technology

IBM Cloud Services

HERE Technologies

Cloudant DB as Backend

Node.js for backend API

Getting started

Steps

1. Run the server

To set up and launch the server application:

  1. From a terminal:
    1. Go to the starter-kit/server-app directory of the cloned repo.
    2. Install the dependencies: npm install.
    3. Launch the server application locally or deploy to IBM Cloud:

2. Run the mobile application

To run the mobile application (using the Xcode iOS Simulator):

  1. From a terminal:
    1. Go to the starter-kit/mobile-app directory.
    2. Install the dependencies: npm install.
    3. iOS only: Go to the ios directory: cd ios.
    4. iOS only: Install pod dependencies: pod install.
    5. iOS only: Return to the mobile-app directory: cd ../.
    6. Launch the app in the simulator/emulator:
      • iOS only: npm run ios

        Note: You should be running at least iOS 13.0. The first time you launch the simulator, you should ensure that you set a Location in the Features menu.

      • Android only: npm run android

        Note: Your Android Studio needs to have the Android 9 (Pie) SDK and a Pie API Level 28 virtual device

With the application running in the simulator/emulator, you should be able to navigate through the various screens:

Home Page Map Based Search Search and Book Chat Screen Vendor Registeration Check-in

License

This solution starter is made available under the Apache 2 License.