Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Starter monorepo for Web3 services with Next.js, Hasura, Nest.js, Biconomy, and The Graph.

Free Bootstrap 4 design system with over 100 components, pre-built pages, and a full UI kit for faster web projects.
Web3 Monorepo is an open-source, NX-based full-stack starter template for building web3 services, combining a Next.js frontend, Hasura GraphQL gateway, and NestJS backend for blockchain applications. It provides everything needed to run a dApp with wallet and social authentication, smart contract wallet features, and live on-chain data queries.
Web3 Monorepo is a monorepo boilerplate that scaffolds a complete web3 stack: Next.js v13 with ChakraUI for the frontend, Hasura as a GraphQL API gateway to Postgres, Prisma ORM for database management, and NestJS for business logic. It runs locally with Docker Compose and pnpm, and is deployable to Vercel, Hasura Cloud, and Railway.app (a live example is at web3-monorepo.app). The project was created by sebpalluel and is based on the nextarter-chakra template.
.graphclientrc.yml file.libs/client/ui, and Storybook with interaction tests and Chromatic visual reviews.The repository uses an NX workspace with apps for the Next.js client and NestJS server, plus a hasura folder for migrations/metadata and a prisma folder for database schema. Quick install requires pnpm: install dependencies, set .env with Alchemy API keys, run pnpm start to launch Docker services, then apply Prisma migrations with pnpm prisma-db:dev:start. Local access includes the Hasura console on port 9695, the Next.js app on port 3000, and Mailhog on port 8025.
Yes. The project integrates Web3Auth through Biconomy, allowing users to authenticate with Google or Facebook in addition to Ethereum wallets like MetaMask and WalletConnect. The sign-in flow is handled by Next-Auth with a SIWE provider.
The template includes RPC providers for Ethereum, Polygon, and Arbitrum via Alchemy. The NestJS backend also uses ethers to interact with EVM-compatible blockchains, so additional networks can be added.
You need to create an Alchemy account and obtain API tokens for Ethereum, Polygon, and Arbitrum mainnets. Add them to a .env file; client-side keys can be omitted and replaced by a public RPC network, but server-side keys are required for the NestJS app.
Jest handles unit and integration tests with an in-memory test database and Hasura engine; Cypress handles e2e and component tests. Both run through NX commands like pnpm affected:test and pnpm affected:e2e.
It is an open-source public repository on GitHub, so the template itself is free. You are responsible for costs of external services such as Alchemy, Hasura Cloud, Vercel, and Railway when deploying.