See Live Demo of this Template
.env
file at the root of the project.env.sample
file to your newly created .env
file..env
file.package.json
file and change the name
property to the name of your application, and author
to your name.npm install
OR npm i
for short.npm run prepare
. This command sets up husky to track eslint errors on commit that will make your deploy fail on Netlify.npm run dev
. THIS IS THE COMMAND YOU WILL USE TO RUN YOUR DEVELOPMENT SERVER FROM NOW ON.You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
NOTES:
In this project, we are going to learn some of the basics of React by using a project that you are already familiar with.
Topics will include:
All CRUD concepts touched in topics above
Netlify will automatically detect your project and prepopulate the settings, but should something go wrong and it does not, here are the commands:
npm run build
.next
Add Environmental Variables
.env
file should be added to Netlify.
Update Firebase URL Settings
To learn more about Next.js, take a look at the following resources: