Restaurant List

A simple web application for users to create, read, update, delete restaurants info, in addition, sorting and searching restaurants with names or categories are also available.

Features

Users can

  • register and login with email or Facebook account to create their own restaurant list
  • add new restaurants
  • read all restaurants with pictures, names, category, and ratings
  • select restaurant to get more details
  • edit and delete restaurants infos
  • search restaurants by name or category
  • sort restaurants by name, category, or location

How to use?

  1. Clone this repository with terminal: $ git clone https://github.com/smilingfroggy/AC2-3-Restaurant-List.git

  2. Install packages:$ npm install

  3. Insert restaurants seeder $ npm run seed

  4. Run it $ npm run dev

  5. View the website at: http://localhost:3000

  6. Register an account or use seeder to login and experience the web app

Seeder information

Packages

  • Node.js
  • MongoDB
  • Mongoose
  • Express.js
  • Express-handlebars
  • Express-session
  • bcryptjs
  • connect-flash
  • dotenv
  • method-override
  • passport
  • passport-facebook
  • passport-local