To set up the application, follow these steps:
-
Clone the repository and install dependencies:
git clone https://github.com/Ranto-creat/React-admin npm install
-
Set up the JSON server:
Open a new terminal and navigate to the server folder:
cd React-admin/src/server/ json-server --watch db.json -p 3004 -
Start the React application:
In a new terminal, navigate to the application directory and run:
cd React-admin/ npm run dev
You should see output similar to this:
VITE v5.4.14 ready in 1255 ms
➜ Local: http://localhost:5173/
➜ Network: http://192.168.42.205:5173/
➜ press h + enter to show help