Skip to content

FannyDevz/React-E-Commerce-V2

Repository files navigation

VShop: React Vite Redux Toolkit Project

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.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Setup Environment

  1. Create a .env file in the root of your project.

    VITE_ENCRYPTION_KEY=your_secret_key
    VITE_API_KEY=https://fakestoreapi.com/products

Development

  1. To start the development server, run:
    npm run dev

Deployment

Deploy the dist directory to your hosting platform of choice.

Contributing

Feel free to contribute by opening issues and pull requests.

License

This project is licensed under the MIT License.

Copy and paste this content into a file named README.md in the root of your project. Adjust any placeholders to match your project's information.