Coder Social home page Coder Social logo

rjarman / fire-free Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 10.3 MB

This is a mobile application for helping the firefighters to rescue the victims on time. It has two parts: hardware and software. The hardware part will be sold by the firefighters to the users and registered the mac address along with user details through this application. So whenever there are gas leakage or set fire in any houses then instantly the notification will come to all the firefighters whoever has this application and then they can take necessary actions, if the incident has been solved by the fire service then they can set the incident as solved. Its notification has the coordinate of the registered user's house which was instantly sent by the hardware part. The hardware part has the capability to send coordinates and the MQ-2 sensor data to the central fire service database. Even it can play alarm locally in the house.

Home Page: https://heaplinker.com

License: MIT License

JavaScript 12.41% TypeScript 59.80% HTML 19.50% C++ 5.17% SCSS 3.13%
typescript nodejs angular ionic cordova android express html mongodb cordova-android-plugin

fire-free's Introduction

Fire-Free

This is a mobile application for helping the firefighters to rescue the victims on time. It has two parts: hardware and software. The hardware part will be sold by the firefighters to the users and registered the mac address along with user details through this application. So whenever there are gas leakage or set fire in any houses then instantly the notification will come to all the firefighters whoever has this application and then they can take necessary actions, if the incident has been solved by the fire service then they can set the incident as solved. Its notification has the coordinate of the registered user's house which was instantly sent by the hardware part. The hardware part has the capability to send coordinates and the MQ-2 sensor data to the central fire service database. Even it can play alarm locally in the house.

Objectives

  • Software
    • Has account for every firefighter who has smartphones.
    • Can sell fire-free hardware from the application.
    • Show all the solved and unsolved notifications from the hardware part.
    • Can show the victim's house on google map and routes from fire service office to the victim.
    • Can download the user's current hardware data as .pdf from the application.
    • Can show the info of the firefighters whoever served customers or sold hardware to the customer.
    • Firefighters can edit their profile.
  • Hardware
    • It can send MQ-2 sensor's data.
    • GPS data like date, time, latitude, longitude, altitude.
    • Can send fire-free hardware's mac-address.
    • It has to be PCB compact circuit not exactly like production build but similar.

Technical Challenges

  • Combine hardware and software(mobile application) with each other and build an IoT solution.
  • Make an API which will be the middleware between hardware, software and database.
  • Build a complete library with C++ for the whole PCB.
  • Make all the password related works encrypted.
  • Design NoSQL schemas for every database for mongodb and connect them with mac-address as primary key.

Disadvantages

  • PCB is handmade so it won't be suitable for production purpose.
  • Registration and Login page are not that much good.

Software

Installation and Run

  • Frontend

    • To install run:

      npm install
      
    • To run on development mode (it will run in http://localhost:4200 by default):

      npm run start
      
    • To build on production mode (it will run in http://localhost:4200 by default):

      npm run build
      
  • Backend

    • To install run:

      npm install
      
    • Rename .env-example to .env

    • Edit the DATABASE_URL and Database Name, collections name variables of .env-example as your choices.

    • To run development server (it will run in http://localhost:3000 by default):

      npm run dev:server
      
    • To run server (it will run in http://localhost:3000 by default):

      npm run server
      

      N.B. you have to install mongodb and configure mongodb database as mentioned in *.env-example* file.

Screenshots

photo no 1 photo no 2 photo no 3 photo no 4 photo no 5 photo no 6 photo no 7

Hardware

PCB schematics and photos will be updated soon...

photo no 1

fire-free's People

Contributors

rjarman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.