Board is a simple task management project has built with the Nextjs framework.
You can see the application running in production at the following address:
https://myboard.herokuapp.com/
First, install the dependencies:
npm install
Second, create a .env.local file in the project root and set the following variables:
# GITHUB
GITHUB_ID
GITHUB_SECRET
NEXTAUTH_URL
NEXTAUTH_SECRET
# FIREBASE
NEXT_PUBLIC_API_KEY
NEXT_PUBLIC_AUTH_DOMAIN
NEXT_PUBLIC_PROJECT_ID
NEXT_PUBLIC_STORAGE_BUCKET
NEXT_PUBLIC_MESSAGING_SENDER_ID
NEXT_PUBLIC_APP_ID
#PAYPAL
NEXT_PUBLIC_PAYPAL_CLIENT_ID
Third, run the command:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.