Welcome to the Project! This project provides a simple reataurant management functionality with username and password authentication.
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (v18 or higher)
- Nvm is highly recommended.
- npm (v6 or higher)
- MySQL database
-
Clone the repository:
-
Install the dependencies: npm install, npm install --legacy-peer-deps
-
Setup the database:
- Import the provided SQL file to your MySQL database. This file will create the necessary tables and insert some initial data.
- Use a MySQL client or the command line to import the database:
-
Configure the database connection:
- Update the
env
file with your MySQL database credentials.
- Update the
-
Run the application: Note: Both front-end and back-end code is in this repo. YOu will have to run those projects separately.
- npm run start
- After project is running in browser you can admin login with
- Username:
admin
- Password:
1234
- ###After login