Code Monkey home page Code Monkey logo

cleansify's Introduction

Cleansify Logo




Cleansify (Working-In-Progress)

Cleansify is a web application app which allows users to request cleaning services based on the time and location. It is built with Node.js, React and Firebase.

Table of contents

Getting Started

(Back to top)

Node.js must be installed on local machine in order to run the app. If your local machine does not have Node.js installed, you can download and install from the officical website.

Installation

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/theinhtut/cleansify.git
     cd cleansify
    
  2. Install cleansify dependencies

     npm install
    
  3. Create ".env.development" file under the root folder cleansify/.env.development with your own Firebase's credentials

     FIREBASE_API_KEY=XX
     FIREBASE_AUTH_DOMAIN=XX
     FIREBASE_DATABASE_URL=XX
     FIREBASE_PROJECT_ID=XX
     FIREBASE_STORAGE_BUCKET=XX
     FIREBASE_MESSAGING_SENDER_ID=XX
     [email protected]
     GOOGLE_MAIL_PASSWORD=XX
    
  4. You need to "Allow less secure apps: ON" temporarily in Google here.
    You can turn off later(Recommended)

  5. Build for production before getting start (IMPORTANT)

     npm run build:prod
    
  6. Run

     npm start
    

    or

     node server/server.js
    

Once the server has started, you will see the following in your console.

$ node server/server.js
Server is running on PORT 3000

Running Cleansify App

(Back to top)

Everything is fully setup and now it is good to go. You can go to http://localhost:3000 to use Cleansify.

Firebase Realtime Database

(Back to top)

If you want to setup your own database on Firebase, you must sign up your google account first.

Firebase Database Structure

Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. The followings are the data structure stored inside Firebase Realtime Database.

Job Requests & Vendors Matching

Whenever users click on "Check Availability", it will find the availabe vendors based on two references:

  • User's input location is same with vendors' locations
  • Vendors' availability is true

Deployment

(Back to top)

Cleansify is now live on Heroku. You can visit https://cleansify.herokuapp.com

Built With

(Back to top)

  • Node.js - Node.jsยฎ is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • React - React is a JavaScript library for building user interfaces.
  • Firebase - Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business.
  • Webpack - Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser.
  • Babel -Babel.js is a free and open-source JavaScript compiler and configurable transpiler used in web development.

Version

(Back to top)

Cleansify v1.0.0

Authors

(Back to top)

  • Thein Htut - Cleansify - Github

See also the list of contributors who participated in this project.

Acknowledgments

(Back to top)

  • Brillianda Sheravina - For inspiration by love โค and testing the web application
  • To anyone whose codes were used as reference.

cleansify's People

Contributors

theinhtut avatar

Watchers

James Cloos 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.