This is a Next.js 13 project using new App Route feature.
- New
/app
dir - Interaction with Aurora blockchain using ConnectKit and Wagmi
- Interaction with Near blockchain using Near Wallet Selector and Near JavaScript API
- Query Aurora Explorer data using Apollo GraphQL
- Server and Client Components
- API Routes and Middleware
- Authentication using NextAuth.js
- UI Components built using shadcn/ui and Radix UI
- Styled using Tailwind CSS
- Validations using Zod
- Written in TypeScript
- Reduce first load JS size for /dashboard page
- Performance optimizations
- Add more tests
- Interaction with TestERC721 contract
- Interaction with Near Guest Book contract
- Hardcoded username(
johndoe
) and password(abcd1234
) - Hardcoded user information
- GitHub authentication not working
/sign-in
,/privacy
and/terms
pages are not implemented
-
Install dependencies using pnpm:
pnpm install
-
Copy
example.env
to.env.local
and update the variables.cp example.env .env.local
Note
You can set
NEXT_PUBLIC_NFT_CONTRACT_ADDRESS
to0x1875fcC416a92e04Ee23d2077203B02f3a51D0C0
andNEXT_PUBLIC_NEAR_CONTRACT_ID
toguest-book.testnet
-
Start the development server:
pnpm dev
-
Install dependencies using pnpm:
pnpm install
-
Copy
example.env
to.env.test.local
and update the variables.cp example.env .env.test
-
Run tests:
pnpm test
The easiest way to deploy a Next.js app is to use the Vercel Platform.
Check out the Next.js deployment documentation for more details.
Licensed under the MIT license.