A list which user can save favorite restaurants.
This is a express web app from AlphaCamp.
You can also see the website in Replit.
- Create, read, update, delete restaurant information.
- Searching restaurants in name.
- User authentication: You can login with email or Facebook now. (New Feature)
- Node.js, v14.16.0
- (Optional) nodemon (2.0.20)
- MongoDB Atlas, sign up and get a free account
- Clone this repo in local,
git clone https://github.com/bensonybs/restaurant_list.git
- Open terminal in the project directory, type
npm install
to install needed packages. - Sign in to MongoDB Atlas and get the URI. See the document of MongoDB for more information.
- Save the URI to the environment variables on your computer. Windows
- On terminal, type
npm run seed
ornode models/seeds/restaurantSeeder.js
(without nodemon) to install seed data to your mongodb. - Type
npm run dev
ornode app.js
if you didn't install nodemon. - Go to http://localhost:3000 in the browser to see the website.
Watch all packages installed in package.json
- Bootstrap, 4.3.1
- Font Awesome, 5.8.1