Skip to content
EOSIO ReactJS dApp starter with TypeScript, Hooks, Theme UI, Wallet and i18n support
TypeScript HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.all-contributorsrc
.editorconfig
.eslintrc.js
.gitignore
.prettierrc.js
README.md
package.json
tsconfig.json
yarn.lock

README.md

Collaborative Etiquette Blockmatic Standard MIT Follow on Twitter Chat on Telegram

DreamStack ReactJS Starter

Jumpstart your TELOS ReactJS project with TypeScript, Hooks, Theme UI, Wallets and i18n support.

TELOS

Best in class C++ EOSIO protocol technology providing fast, scalable and eco-freindly blockchain augmented by a growing library of Telos services and innovations. Free accounts, work proposals, dapp grants, decentralized exchange, dstor, bancor protocol, telos community and foundation.

Learn more

ReactJS

Next.js extends React to provide a powerful method for loading a page's initial data, no matter where it is coming from. React is a high performant framework backed by Facebook that allows to build modern single page applications, that means no page reloads. This is the technology we have chosen for the User Interface because:

  • It has a large ecosystem (tools and components) and community (support).
  • It is lightweight.
  • It allows you to write composable code (which is always desirable).

Disclaimer

This is a work in progress. Feel free to reach us out on telegram for clarifications. https://t.me/telosdreamstack

Features

  • Wallet integration with EOS Transit thru @blockmatic/eosio-hooks
  • Basic demo page. Read data example and docs.
  • Push transactions example.
  • Functional TypeScript.
  • Blockmatic code conventions. ( functional, declarative, hooks )
  • Pre-commit code quality git hooks with husky, prettier and eslint.
  • CSS-in-JS styling based on design system constraints with Theme UI.
  • Automatic transpilation and bundling (with webpack and babel).
  • Multilanguage (i18n) with i18next.
  • Non relative (absolute) imports.
  • Component Error Boundaries.
  • Hot code reloading.
  • Serverless continuous deployment with Netlify.
  • Automatic testing with Jest.
  • ...

File Structure

.
├── components ......................................... Reusable Components
│   ├── Button.tsx
│   ├── Form.tsx
│   ├── NavBar.tsx
│   └── ...
├── hooks .............................................. React Hooks
│   ├── useCustomHook.js
│   └── ...
├── routes ............................................. Route Container Components
│   ├── Users.tsx
│   └── ...
├── public ............................................. Static file serving
└── library ............................................ Scripts, Services, SDKS,...
    └── amplify.ts

Usage

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

yarn lint && yarn lint --fix

... eslint

yarn format

... prettier

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

Deploy to Netlify

Deploy to Netlify

TELOS DreamStack

This repository is part of the TELOS DreamStack Project which provides set of guidelines, tools and starters to speed up dApp development following best practices for security, performance and maintainability of your application.

The code style convention aims to maximize reusability and facilitate collaboration. We have chosen the stack carefully so that it allows us to write robust and performant applications with more concise and readable code.

Contributing

Read the contributing guidelines for details.

Contributors

Thanks goes to these wonderful people (emoji key):

Gabo Esquivel
Gabo Esquivel

🤔 💻 👀
Ronny
Ronny

🤔 💻
Jeffrey Briceño
Jeffrey Briceño

🤔 💻 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

Blockmatic

Blockmatic is building robust ecosystem of people and tools for development of decentralized applications.

blockmatic.io

Blockmatic Twitter Blockmatic Facebook Blockmatic Github

You can’t perform that action at this time.