
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
@chowdhury/vite-react-redux-ts-starter
Advanced tools
A starter template for React with Typescript using Vite and Redux
A minimalistic Vite-based starter template for building React applications with TypeScript. This starter kit provides a well-configured development environment and includes essential tools and shadcn/ui libraries for efficiently developing and maintaining your React projects.
To install and use this package, you can follow these simple steps:
Install Node.js: Ensure you have Node.js and npm (Node Package Manager) installed on your system. You can download and install them from nodejs.org.
Create a New Project: Use the following command to create a new project using this package:
npx @chowdhury/vite-react-redux-ts-starter my-app
cd my-app
npm install
Run the development server::
npm run dev
This will start the development server, and your app will be available at http://localhost:5173.
npm run dev
: Start the development server.npm run build
: Build the application for production.npm run start:dev
: Start the application in development mode.npm run lint
: Lint the code using ESLint.npm run test
: Run tests using Jest.npm run format
: Format the code using Prettier.npm run preview
: Preview the production build locally.npm run precommit
: Run linting and formatting checks before committing.tsconfig.json
file is configured for TypeScript..eslintrc.js
and .prettierrc.js
.tailwind.config.js
.browserslist
.src
βββ app
β βββ hooks.ts
β βββ store.ts
βββ assets
β βββ img
βββ components
β βββ form
β βββ layouts
β βββ ui
βββ button (checkout from here https://ui.shadcn.com/docs/components/button)
βββ features
β βββ counter
β βββ counterAPI.ts
β βββ counterSlice.ts
β βββ counterSlice.spec.ts
βββ hooks
β βββ README.md
βββ page
β βββ README.md
βββ routes
β βββ README.md
βββ styles
β βββ tailwind
βββ Test
β ββ tests-example
β βββ App.test.tsx
βββ types
β βββ README.md
βββ utils
β βββ README.md
βββ App.css
βββ App.tsx
βββ index.css
βββ main.tsx # app entry
βββ vite-env.d.ts
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
parserOptions
property like this: parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
This starter template is open-source and available under the MIT License.
If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. I welcome contributions from the community!
This starter template is created and maintained by S M Habibul Mursaleen Chowdhury.
FAQs
A starter template for React with Typescript using Vite and Redux
The npm package @chowdhury/vite-react-redux-ts-starter receives a total of 2 weekly downloads. As such, @chowdhury/vite-react-redux-ts-starter popularity was classified as not popular.
We found that @chowdhury/vite-react-redux-ts-starter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.