@dechains/cra-template-dapp
Version:
Create react app template with notification system, etherium wallet integration, MUI5 integration and other necessary packages required for base dApp development in REACTJS
65 lines (53 loc) • 1.49 kB
Markdown
# @dechains/cra-template-dapp
Create react app template with notification system, etherium wallet integration, MUI5 integration and other necessary packages required for base dApp development in REACTJS
#### Useage with create-react-app
`[Use yarn mandatory]`
```sh
yarn create react-app myapp --template @dechains/dapp
```
##### _OR use with cra-script-nomod_
```sh
yarn create react-app myapp --template @dechains/dapp --scripts-version cra-script-nomod
```
#### Adding .env and .env.development when using `cra-script-nomod`
Customize cra-template `template.json` if using with `cra-script-nomod`
```sh
{
"package": {
"dependencies":{
...
},
"devDependencies":{
...
}
},
"env":{
"REACT_APP_API_URL" : "https://example.com/api"
},
"envDevelopment":{
"REACT_APP_DEVELOPMENT_API_URL" : "https://example.com/api"
},
}
```
#### List of included functionality:-
- Redux Toolkit
- Global Modal Dialog System
- Etherium Wallet Integration
- File/Image drop component
- Notification Redux Hook System
- File To Base64 And Data to FormData utility Functions
- Routing Navigation
- Base Structure to get started
- Mobile Responsive Drawer
- Prettier Formating
- MUI5 Custom Theme integration
- Seperate ENVs for Prod & Dev
### [cra-script-nomod]
https://github.com/saqlain1020/cra-script-nomod
## License
MIT