This is a starter template for Next.js and Moralis.
It is written primarily in Typescript and uses styled components for styling.
Using the github client, in your command line run:
gh repo create <my-web3-project> --template="https://github.com/ccoyotedev/nextjs-moralis.git"
cd <my-web3-project>
git pull origin main
yarn install
To run the app, in your terminal run:
yarn dev
To connect to Moralis you will need to create a new Moralis project by following the Moralis documentation.
Then create a .env.development
and .env.production
. Inside both set the the following keys:
MORALIS_APPLICATION_ID='[APP_ID]'
MORALIS_SERVER_ID='[SERVER_ID]'