This repository is a part of our larger project and focuses on using React in conjunction with Vite. It provides a minimal setup for React with Hot Module Replacement (HMR) and incorporates some ESLint rules for code consistency.
These instructions will get the project up and running on your local machine for development and testing purposes.
- Node.js
- npm (Node Package Manager)
To set up the project on your local machine:
- Clone the repository:
git clone https://github.com/Project-MedBay/frontend.git - Navigate to the project directory:
cd [Your Project Directory Name] - Install the required dependencies:
npm install - Start the development server:
npm run dev
This will launch the server and you can start working on your project with hot reload at localhost.
The project uses two official Vite plugins for React:
- @vitejs/plugin-react: This plugin uses Babel for Fast Refresh.
- @vitejs/plugin-react-swc: This plugin employs SWC for Fast Refresh.