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.
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!
$ git clone [email protected]:felipemfm/cc27-greenfield.git
$ cd cc27-greenfield
$ npm install
-
Create .env file in root and inside it add the following:
DB_NAME=greenfield DB_USER=YourUserName DB_PASSWORD=YourPassword
-
Create a second .env file in the client folder and inside it add the following:
REACT_APP_LOCAL_SERVER=http://localhost:8000 REACT_APP_API_KEY=YourKeyHere
-
Setup Google Maps Platform Account (Gives you access to use Google Maps API)
-
Create a local Postgres database called 'greenfield'.
-
Run the following scripts:
$npm run migrate-latest $npm run seed-data
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.
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.
- Enable live location update as user walks toward location (paid)
- Expand database to cover all of Tokyo
- Unclutter the map - get rid of uneccesary native map info, icons, etc.
- Work on CSS styling
- Enable more API endpoints and location filtering modes (kid friendly, accessability, open hours)
- Create review function for users to rate bathroom experience
- Create native app for iOS/Android