⭐ Display information of your favorite restaurants.
- Register the new account through local or facebook.
- Login into Restaurant list to manage your account.
- Show all restaurants in homepage.
- Click on the restaurant's image for further information.
- Search restaurants by using keyword or sort filter.
- You can add, edit, delete any restaurant data.
✅ Be sure that Node.js and npm are installed already.
✅ Clone or download the project to your folder
git clone https://github.com/bft7658/restaurant_list.git
✅ Open Terminal
to install the required packages
npm install
✅ Set environment variable
MONGODB_URI = "<your URI>"
1. Please change the filename .env.example to .env
2. Go to Facebook for Developers to get the application ID & key
3. Replace the SKIP with your Facebook ID and key in the .env file
4. Following API service you'll need:
✅ Load the initial data
npm run seed
✅ Start the server after install finished
npm run dev
✅ Run the browser when your Terminal
shows the link
This website is running on http://localhost:3000
✅ Create a new account or use seed accounts below to test any function
email: user1@example.com
password: 12345678
email: user2@example.com
password: 12345678
✅ Stop using browser by
Ctrl + c
- Node.js 16.14.0
- Express 4.17.3
- express-handlebars 4.0.2
- Bootstrap 5.1.3
- Font-awesome 5.8.1
- MongoDB
- mongoose 6.1.6
- express-session 1.17.1
- passport 0.4.1
- bcryptjs 2.4.3
- dotenv 8.2.0