This file will explain how to run the app:
# React App
This project is a simple React application.
## Prerequisites
Before you can run the app, make sure you have the following installed on your machine:
- [Node.js](https://nodejs.org/)
- [npm](https://www.npmjs.com/) (Node Package Manager)
-
Clone this repository to your local machine:
git clone https://github.com/wicaksana94/dwp-store.git
-
Navigate to the project directory:
cd dwp-store
-
Install dependencies:
npm install
Once the installation is complete, you can run the app using the following command:
npm run start
This will start the development react vite server and json-server simultaneously.
Open your web browser and go to http://localhost:5173. You should see the app running.
In the project directory, you can run the following scripts:
npm run start
: Runs the app and json-server in development mode.npm run dev
: Launches the react app only.npm run build
: Builds the app for production to thebuild
folder.