A simple explorer app that shows the lastest 5 blocks in Regen Network.
- Node.js >= 16.14.0
- TypeScript
- React
- React Query (also for a state manager)
- React Bootstrap / Bootstrap
- ESLint with Prettier (also Husky)
- Install node_modules
npm install
- Make a copy of
.env.example
as.env
SetPORT
as the port of the app
SetREACT_APP_API_URL
as backend API's URL
npm start
to start the app
npm run lint
to check lint errorsnpm run lint-fix
to fix lint errorsnpm test
to test the appnpm run build
to build a production bundle