Welcome to the Restaurant Listing platform.
- Search: Easily search for restaurants by restaurant name.
- Add: Add the new Restaurant list with Name, contact, address, and Image link.
- Update: Update the new Restaurant list with Name, contact, address, and Image link.
- Delete: Delete the Specific restaurant item from the list.
- Frontend: JavaScript, React.js, Material UI
- Backend: MySQL, Node.js, Express.js
restaurantvid.mp4
Column | Type | Details |
---|---|---|
id | int | Primary Key, Auto-increment |
name | varchar(45) | Restaurant name |
address | varchar(255) | Address of the restaurant |
contact | varchar(45) | Contact information |
picture | varchar(350) | Picture URL/link |
The 'restaurant' table in the MySQL database contains crucial information about restaurants. Here's a breakdown of the columns:
- id: Unique identifier for each restaurant entry. It's set as the primary key and auto-increments to ensure each restaurant has a distinct identifier.
- name: A field to store the name of the restaurant.
- address: Contains the address information of the restaurant.
- contact: Stores contact details such as a phone number or email address.
- picture: A field to store a URL or a link pointing to a picture associated with the restaurant.
This schema design allows for efficient storage and retrieval of essential details related to various restaurants.
To run the backend locally:
- Clone this repository.
- Navigate to the project directory.
- Cd to Backend
- Install dependencies using
npm install
. - Run
node index.js
to start the server. - Access the platform via your browser at
http://localhost:5500
.
To run the frontend locally:
- Navigate to the project directory.
- Cd to Frontend
- Install dependencies using
npm install
. - Run
npm start
to start the client. - Access the platform via your browser at
http://localhost:3000
.
- Explore restaurants by searching.
- Add Delete and Update the Item with name address contact and image link.
We welcome and encourage contributions. To contribute to the project:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make changes and commit them.
- Push your changes to your branch.
- Submit a pull request.
This project is licensed under the MIT License.
We want to extend our gratitude to the developers and contributors who have helped make this project possible.