Skip to content

raza-musavi/noteBook

Repository files navigation

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:

Getting Started

Clone the Repository

git clone https://github.com/your-username/your-project.git
cd your-project

Install Dependencies

This project supports two official plugins: @vitejs/plugin-react and @vitejs/plugin-react-swc.

Choose one of the following options to install the desired plugin:

Using Babel (Fast Refresh with @vitejs/plugin-react)

npm install

Using SWC (Fast Refresh with @vitejs/plugin-react-swc)

npm install --legacy-peer-deps

Note: --legacy-peer-deps is required for now due to compatibility issues.

Running the Project

Start the Backend Server (Assuming you have Node.js installed)

if nodeJS not installed you can visit the official site of nodeJS and download the latest version

npm install -g nodemon  # Install nodemon globally if not already installed
nodemon server.js

The backend server will be running at http://localhost:5000.

Start the Frontend Development Server

npm run dev

The frontend development server will be running at http://localhost:5173.

Open your browser and navigate to http://localhost:5173 to see your React application in action.

Contributing

Feel free to contribute to this project by creating issues or pull requests.

Happy coding!

Releases

No releases published

Packages

No packages published

Languages