Coder Social home page Coder Social logo

cc27-greenfield's Introduction

The Greenfield Project Repository

ToiletFinder.com


Developers - Felipe Machado, Marie Matsumoto, Joe Sacco - CC27

ToiletFinder.com is a super convenient search tool powered by Google Maps for finding the closest bathroom to your location, immediately.


Why?

We wanted a tool that allows us to:

Hit the go button to find the closest bathroom as soon as possible. For people with more time, allow them to sort bathroom options based on a variety of use cases, such as public, private, kid friendly and accessibility. Provide open/closed info for each location and probability that a bathroom is available for public use.

ToiletFinder.com is the only app that provides fast relief!


Installation

    $ git clone [email protected]:felipemfm/cc27-greenfield.git
    $ cd cc27-greenfield
    $ npm install
  1. Create .env file in root and inside it add the following:

    DB_NAME=greenfield
    DB_USER=YourUserName
    DB_PASSWORD=YourPassword
    
  2. Create a second .env file in the client folder and inside it add the following:

     REACT_APP_LOCAL_SERVER=http://localhost:8000
     REACT_APP_GOOGLE_API_KEY=YourKeyHere
    
  3. Setup Google Maps Platform Account (Gives you access to use Google Maps API)


Usage


For Local / Development Use


Database Setup

  1. Create a local Postgres database called 'greenfield'.

  2. Run the following scripts:

     $npm run migrate-latest
     $npm run seed-data
    

Server Setup

To start the Express local server:

    $ npm run start

The Express server should run on Local Port 8000.

To start the React local server:

    $ npm run start-client

The React server should run on Local Port 3000.


For Deployment/Production Use


To start the Express local server:

    $npm run prod

The Express server should run on Local Port 8000 serving the static React build files.

Heroku will use this script on deployment.


Future Features

  1. Enable live location update as user walks toward location (paid)
  2. Expand database to cover all of Tokyo
  3. Unclutter the map - get rid of uneccesary native map info, icons, etc.
  4. Work on CSS styling
  5. Enable more API endpoints and location filtering modes (kid friendly, accessability, open hours)
  6. Create review function for users to rate bathroom experience
  7. Create native app for iOS/Android

Further Documentation

Google Maps API

Google Maps React Library

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.