A web application built with Node.js and Express to display a list of restaurants with detail and offer the searching function to help readily locate the ideal restaurant.
Functions | Detail | URL |
---|---|---|
View all restaurants | Click on logo to find name, image, category, rating of all restaurant | / |
View restaurant detail | Click on any restaurant card to view address, phone number, category, description, image | /restaurants/:restaurant_id |
Search restaurants | Input name in search bar to find matching restaurants | /search |
The following instructions will get you a copy of the project and all the setting needed to run it on your local machine.
Clone this repository to your local machine
$ git clone https://github.com/smallpaes/restaurant-list.git
- Enter the project folder
$ cd restaurant-list
- Install npm packages
$ npm install
- Activate the server
$ npm run dev
- Find the message for successful activation
Express is listening on http://localhost:3000
You may visit the application on browser with the URL: http://localhost:3000