Simple NextJS PWA boilerplate.
1. Clone this repo:
git clone https://github.com/ooade/NextSimpleStarter.git cd NextSimpleStarter
2. Make it your own:
rm -rf .git && git init && yarn init
:information_source: This re-initializes the repo and sets up your project.
3. Install the dependencies:
or if you're using npm:
You're done installing! Now let's get started developing.
Development Workflow :fire:
4. Start a live-reload development server:
yarn run dev
npm run dev
5. Generate a production build:
yarn run build
npm run build
You can now deploy the contents of the
build directory to production!
Deploying a nextjs app is a lot easier with now. Make sure you're logged in then run:
Simple right? :smile:
heroku: Just follow Mars's Guide and you're good to go :clap:
I'm open to contributions & suggestions in making this a lot better :hand:
NextJS starter - A starter project for Next.js with and email and oAuth authentication.