/dwp-store

Primary LanguageTypeScript

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)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/wicaksana94/dwp-store.git
  2. Navigate to the project directory:

    cd dwp-store
  3. Install dependencies:

    npm install

Running the App

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.

Accessing the App

Open your web browser and go to http://localhost:5173. You should see the app running.

Available Scripts

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 the build folder.