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.
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
-
Clone this repository with terminal:
$ git clone https://github.com/smilingfroggy/AC2-3-Restaurant-List.git
-
Install packages:
$ npm install
-
Insert restaurants seeder
$ npm run seed
-
Run it
$ npm run dev
-
View the website at: http://localhost:3000
-
Register an account or use seeder to login and experience the web app
-
User1: Email: user1@example.com Password: 12345678
-
User2: Email: user2@example.com Password: 12345678
- Node.js
- MongoDB
- Mongoose
- Express.js
- Express-handlebars
- Express-session
- bcryptjs
- connect-flash
- dotenv
- method-override
- passport
- passport-facebook
- passport-local