/redux-basics

This project serves as a simple example of integrating Redux into a React application using TypeScript and Vite

Primary LanguageTypeScript

Redux Project with Vite and React-TS

This project serves as a simple example of integrating Redux into a React application using TypeScript and Vite.

Getting Started

Prerequisites

Make sure you have Node.js installed on your machine.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/redux-vite-react-ts.git
  1. Navigate to the project directory:
cd redux-basics
  1. Install dependencies
npm install

Development

Start the development server:

npm run dev

Open your browser and visit http://localhost:3000 to see the app in action.

Build

To build the project for production:

npm run build

The optimized and minified files will be located in the dist directory.

Project Structure

  • src/ - Contains the source code of the React application.
    • app/ - Instantiation of hooks.
    • features/ - Redux slice files for managing state.
    • store - Root component.
  • index.tsx - Entry point of the application.
  • redux/ - Redux store configuration.
  • vite.config.ts - Vite configuration file.

Technologies Used

React Redux Toolkit TypeScript Vite

##Contributing

Feel free to contribute to the project by opening issues or pull requests. Your feedback and suggestions are highly appreciated.

##License This project is licensed under the MIT License.