0.1.2 • Published 2 years ago

@dechains/cra-template-dapp v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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]

yarn create react-app myapp --template @dechains/dapp
OR use with cra-script-nomod
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

{
    "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