Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/soumilgit/fsd-mern_restaurant-management-system
- Owner: Soumilgit
- License: mit
- Created: 2024-08-05T08:56:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T10:19:59.000Z (12 days ago)
- Last Synced: 2024-11-06T11:26:19.345Z (12 days ago)
- Language: CSS
- Size: 5.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/) forFast 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.