This is the Progressive Web App (PWA) setup for the #bbn-poll-experiment. It Powered By
- 🚀 Next JS — The React Framework for Production
- 📲
next-pwa
— Creating progressive web apps (PWA) powered by Workbox. - ⚔️⚙️ Workbox — Production-ready service worker libraries and tooling.
-
Clone this first:
git clone https://github.com/daccred/bbnpolls.git cd bbnpolls
-
Install dependencies and run:
Using yarn:
yarn && yarn dev
Using npm:
npm i && npm run dev
The app has a .env.example
file which is pre-populated with variables that will be needed in your local .env
file. Credentials and keys that are private will be shared privately.
You can deploy to Vercel by clicking this button
OR
Deploy it to the cloud with Vercel (Documentation).
-
yarn dev
— Starts the development server. -
yarn build
— Builds the app for production. -
yarn start
— Runs the built app in production mode.