This project is a boilerplate for a React application using Vite as the build tool, Redux Toolkit for state management, and API key stored in a .env file for secure configuration.
Open the vshop website, before buying goods apply the following promo code:
HAKIM
to get 50%NEWUSER
to get 25%VSHOP
to get 10%
Before you begin, ensure you have the following installed on your machine:
- Node.js: Download and install Node.js
- npm: Node.js package manager (comes with Node.js installation)
-
Clone the repository:
git clone https://github.com/anwarhakim31/vshop-React.git
-
Navigate to the project directory:
cd vshop-react
-
Install dependencies
npm install
-
Create a .env file in the root of your project.
VITE_NODE_ENV=development VITE_ENCRYPTION_KEY=your_secret_key VITE_API_KEY=https://fakestoreapi.com/products
-
To start the development server, run:
npm run dev
Deploy the dist
directory to your hosting platform of choice.