Skip to content

A list which user can search for restaurant and see detail imfomation of it.

Notifications You must be signed in to change notification settings

bensonybs/restaurant_list

Repository files navigation

Restaurant List

A list which user can save favorite restaurants.
This is a express web app from AlphaCamp.

Demo

demo You can also see the website in Replit.

Features

  • Create, read, update, delete restaurant information.
  • Searching restaurants in name.
  • User authentication: You can login with email or Facebook now. (New Feature)

Getting Start

Prerequisite

  1. Node.js, v14.16.0
  2. (Optional) nodemon (2.0.20)
  3. MongoDB Atlas, sign up and get a free account

Download

  1. Clone this repo in local,
    git clone https://github.com/bensonybs/restaurant_list.git
  2. Open terminal in the project directory, type npm install to install needed packages.
  3. Sign in to MongoDB Atlas and get the URI. See the document of MongoDB for more information.
  4. Save the URI to the environment variables on your computer. Windows
  5. On terminal, type npm run seed or node models/seeds/restaurantSeeder.js(without nodemon) to install seed data to your mongodb.
  6. Type npm run dev or node app.js if you didn't install nodemon.
  7. Go to http://localhost:3000 in the browser to see the website.

Packages

Node.js

Watch all packages installed in package.json

Others

Future Updates

  1. Passport Error Message(S1U34)

About

A list which user can search for restaurant and see detail imfomation of it.

Resources

Stars

Watchers

Forks

Packages

No packages published