Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soumilgit/fsd-mern_restaurant-management-system


https://github.com/soumilgit/fsd-mern_restaurant-management-system

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# fsd-MERN_Project


# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some
ESLint rules.
Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-
react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for

Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses
[SWC](https://swc.rs/) for Fast Refresh




Setup Instructions

1. Backend Configuration:

o Navigate to the backend folder and create a folder named config.

o Inside the config folder, create a file named config.env.

o Add the following environment variables in config.env:

 PORT: Port on which the backend server will run (e.g., 4000).

MONGO_URI: MongoDB connection URI.

FRONTEND_URL: URL of the frontend application (e.g.,
http://localhost:5173).




2. Install Dependencies:

o Run npm install in both the frontend and backend folders to install the
necessary dependencies.




3. Run the Application:

o Start the backend server by running npm start in the backend folder.

o Start the frontend server by running npm run dev in the frontend folder.



4. Open the application in your browser at http://localhost:5173.