SL0TR / react-boilerplates

React boiler plates for heavy and lite applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


React Boilerplates
React Dashboard Boilerplates for every need

Types

  • πŸ›‘οΈ Solid React

  • βš”οΈ Solid React Dashboard

  • ⚑ Light React (Upcoming)

Application structure preview

The directory layouts of the solid boilerplates

.
β”œβ”€β”€ .vscode                 # Vscode config, for autoformat on save.
β”œβ”€β”€ build                   # After running the build command the build files get put here
β”œβ”€β”€ node_modules            # NPM dependency folder
β”œβ”€β”€ public                  # Reacts public folder for the html and static assets
β”œβ”€β”€ src                     # Source directory for the React Application
β”œβ”€β”€ src                     # Source directory for the React Application
β”‚   β”‚
β”‚   β”œβ”€β”€ api                   # API async functions folder.
β”‚   β”œβ”€β”€ assets                # Static assets folder for the global scope. Example: images, icons, fonts etc.
β”‚   β”œβ”€β”€ components            # Typical React component folder but only for global components.
β”‚   β”œβ”€β”€ config                # App config (More details inside the folder)
β”‚   β”œβ”€β”€ features              # Features pattern folder for Application features (More details inside the folder)
β”‚   β”œβ”€β”€ lib                   # Global helper functions and custom hooks folder
β”‚   β”œβ”€β”€ pages                 # Pages component folder
β”‚   β”œβ”€β”€ router                # Application navigation/routing config (More details inside the folder)
β”‚   β”œβ”€β”€ services              # Folder for services like custom axios instance, analytics etc.
β”‚   β”œβ”€β”€ store                 # Application Redux store
β”‚   β”œβ”€β”€ styles                # Custom SC components, CSS, less utilities
β”‚   └── App.js                # Entry component for the React App.
β”‚
β”œβ”€β”€ craco.config.js         # Extend Webpack config (example: Ant Design theme variable modifying)
β”œβ”€β”€ jsconfig.json           # Adjust file paths to use absolute file path for React
β”œβ”€β”€ package.json            # The NPM config file for all the packages installed and scripts and more
β”œβ”€β”€ .env                    # Store API Url, Secret API keys etc
β”œβ”€β”€ .eslintrc               # Configure Eslint
β”œβ”€β”€ .eslinignore            # ignore certain files for Eslint
β”œβ”€β”€ .gitignore              # ignore certain files for git (example: .env)
β”œβ”€β”€ .prettierrc             # Configure prettier (example: .env)
└── .prettierignore         # ignore certain files for Prettier

Credits

This software uses the following open source packages:

License

MIT

About

React boiler plates for heavy and lite applications


Languages

Language:JavaScript 80.3%Language:Less 14.6%Language:HTML 4.3%Language:CSS 0.4%Language:Shell 0.3%