Duration: 2 Week Sprint
Chews is a web application that addresses the difficulty that people on keto, vegan, and gluten-free diets face when looking for a restaurant.
Users can view curated restaurants recommendations based on their diet. The recommendations appear as pins on a map of Kansas City. Chews also takes suggestions, which can be edited and approved by an administrator.
When a pin on the map is clicked, the restaurant's information appears on a modal. There is also a link to the GoogleMaps listing so they can easily get directions.
To see the fully functional site, please visit: https://www.chews-me.herokuapp.com
Link to software that is required to install the app (e.g. node).
- Node.js
- [PostgreSQL] (https://www.postgresql.org/download/git)
You will need a GoogleMaps Javascript API Key in the .env
file labeled:
REACT_APP_GOOGLE_MAP
-
Create a database named
chews_app
, -
The queries in the
database.sql
file are set up to create all the necessary tables and populate the needed data to allow the application to run correctly. The project is built on Postgres, so you will need to make sure to have that installed. We recommend using Postico to run those queries as that was used to create the queries. -
Open up your editor of choice and run an
npm install
-
Run
npm run server
in your terminal -
Run
npm run client
in your terminal -
The
npm run client
command will open up a new browser tab for you!
- When you open the application it will ask for your location. Either click 'Block' or 'Allow'
- You many filter results with the buttons on the bottom left
- Click on a pin and check out the details on the modal
- If you'd like to suggest a restaurant to be added to the map, click 'Suggest Restaurant' in the upper right-hand corner on the navigation bar
- Fill the form, click 'I am not a robot', then hit the submit button
- Thanks for visiting (and hopefully contributing) to Chews!
- React, Redux-Saga, Express, Node.js, PostgreSQL
- Passport.js, bcrypt, pg, axios
- Google Maps Geolocation API, Google Maps Javascript API
- Material-UI, SweetAlert2
Thanks to Prime Digital Academy in Kansas City who equipped and helped me to make this application a reality. Thanks to Spencer for his keto enthusiasm and Peg teaching me about Celiac's!
If you have suggestions or issues, please email me at [[email protected]]