This is a Next.js project bootstrapped with create-next-app
.
To install all dependencies, run:
npm install
# or
yarn
You need to set all environment variables before the next step. They can be found in the files env.example and
.env.exmaple.local`. Due tu prisma we need to set the prisma variables in a separate file and also include a shadow db to run some migrations.
This template is using Sendgrid for sending out emails. Hence it is required to have a sendgrid account and verified sender identity.
If you want to use Oauth. Also add Github and Google Oauth credendtials. Lastly set the Next Auth secret and domain.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.