Skip to content

A full stack application made with Node, Express, Handlebars, MySQL, and Sequalize ORM. Can't decide where to eat? Use Restaurant Finder!

Notifications You must be signed in to change notification settings

joditivis/Project2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTAURANT FINDER 🍴🍕🍜🥗

Find a restaurant here

Overview

Can’t decide where to eat? We’ve been there...

That’s why we created Restaurant Finder.

An 11 question survey takes in your location, cravings, dietary restrictions, favorites and more, to help you find a restaurant in your area or town you’re visiting.

Finally put an end to the never ending… “I don’t know where to eat, where do you want to eat?”

Because we know everyone hates that conversation.


App Features

1. Enter Name and Phone number

Image


2. User landing page: When new user, message will display "You have no saved restaurants." Restaurant Finder Survey button takes user to survey

Image


3. Survey page takes in users food preferences, cravings, dietary restrictions, etc.

Image


4. User selects which restaurant they want to eat at based on the survey results, and saves their restaurant of choice to their "Previously visited restaurants" list, when a user returns to the app they can reference which restaurants they have already eaten at

Image


This is a full stack application using Node, Express, Handlebars, MySQL, and Sequalize ORM


Technologies Used


Process Flow

Image


If you want to clone the app down to your local machine:

  1. Visit here to set up your own TripAdvisor API key.
  • Create and set up your own .env file as follows:
#api keys
TRIP_KEY=<your api key here>
  • Add your .env file to your .gitignore file
  1. Use MySQL Workbench to create a database called restaurant_db
  • The raw SQL query is CREATE DATABASE restaurant_db;
  1. Inside the config folder, open up the config.json file
  • In the development object, add your MySQL localhost password
  1. In your terminal, cd into the project folder and run:
  • npm install to download all node.js dependencies
  • npm install sequelize to install Sequelize
  1. Finally, you can run the application using:
  • node server.js in the terminal to start the node server
  • Navigate to localhost:3000 in your browser.

Acknowledgments

Authors

About

A full stack application made with Node, Express, Handlebars, MySQL, and Sequalize ORM. Can't decide where to eat? Use Restaurant Finder!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •