Skip to content

This repository serves as the foundation for a React application, leveraging Vite for fast development, Redux for state management, and SCSS for styling. The project is structured to provide a scalable and maintainable architecture for building modern web applications.

Notifications You must be signed in to change notification settings

vikramkadu/React-vite-redux-setup

Repository files navigation

image

Project Setup

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/vikramkadu/React-vite-redux-setup.git
    

Navigate to the project directory:

bash Copy code cd Install dependencies:

bash Copy code npm install Available Scripts In the project directory, you can run:

npm run dev Runs the app in development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm run build Builds the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

npm run serve Serves the production build from the dist folder. Open http://localhost:5000 to view it in the browser.

Tech Stack React: https://reactjs.org/

Vite: https://vitejs.dev/

Redux: https://redux.js.org/

SCSS: https://sass-lang.com/

Folder Structure

src

|-- components

|-- pages

|-- store

|-- assets

|-- routes

|-- constants

|-- helpers

|-- App.jsx

|-- index.jsx

Additional Configuration

Redux store configuration: src/store/index.js

SCSS styles: Modify styles in the src/styles directory.

Additional configurations can be done in the vite.config.js file. Contributing

Feel free to open issues and pull requests. Contributions are welcome!

About

This repository serves as the foundation for a React application, leveraging Vite for fast development, Redux for state management, and SCSS for styling. The project is structured to provide a scalable and maintainable architecture for building modern web applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages