Welcome to your Next.js app, pre-equipped with NextAuth.js and Firebase for seamless authentication. Follow the outlined steps to effortlessly set up your project. If you're new to any part of the process, dive into the detailed step-by-step guides by clicking on the respective steps card.
Follow these steps to create a Google Cloud account and set up your project for this Next.js app:
For detailed instructions, refer to the Google Cloud Getting Started Guide.
Now, let's set up a Firebase project to use as the backend for your Next.js app:
Refer to the Firebase Web Setup Guide for detailed instructions.
Configure environment files and create a firebase.ts
file to manage Firebase settings:
.env
file in your project root with cp .env.example .env
firebase.ts
file cp .firebase.ts.example .firebase.ts
View the Next.js Environment Variables documentation for details on setting up environment variables.
Congratulations on completing the initial setup! Now it's time to customize the starter files and start developing your Next.js app.
page.tsx
file in your app directory to match your project requirements.about
, protected
, and step
folders to kickstart your development.You're almost there! Let's deploy your Next.js app to Vercel and make it live for the world to see.
Prerequisites:
Deployment Steps:
npm install -g vercel
vercel --prod
Congratulations! Your Next.js app is now live on the internet. Share the provided URL with the world.