Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prosenjit-manna/react-starter-template
https://github.com/prosenjit-manna/react-starter-template
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prosenjit-manna/react-starter-template
- Owner: prosenjit-manna
- Created: 2023-07-16T07:57:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T14:00:29.000Z (7 months ago)
- Last Synced: 2024-06-19T13:03:07.201Z (7 months ago)
- Language: TypeScript
- Size: 816 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# React Starter Template
## Features
- Vite Config
- React typescript with eslint and husky pre-commit hooks for checking lint staged files
- Tailwind added
- Auth pages added
- Redux with saga configured
- Basic Folder structure
- React router dom with few routes configured
- Cypress E2E with typescript config ready
- Vscode workspace settings added
- Vscode recommended extensions config added
- Prettier config added## Code Quality must be maintained
- Code quality
- Hooks Ordering
- import ordering
- Indentation ( 2 space )
- END of the line add a blank line
- Whitespace
- Class name Hyphen-case
- Component Main function PascalCase
- Component Child function camelCase
- Variable Name, Css Class Name, Component class Name should be meaningful.
- Eslint
- Max 300 lines of code for each components code blocks## Recommend Folder structure
- Global Components
- component name ( DIR )
- style
- test spec
- Page
- Auth
- Admin
- Orders
- Order List popover
- Users
- SCSS
- components
- lib
- Guards
- Interface
- Hooks ( Custom )
- Api Clients
- Redux Store
- Error handler
- App Constant