lapp-template
lapp-template copied to clipboard
A simple project template to build your ⚡ Lightning Apps on. Authentication, WebLN, QR-Code fallbacks and more!
We need a NextJS example that uses pages/api (not a custom server). I’ve been working on this for weeks and can’t get it to work
On a fresh clone, authentication seems broken. Alby prompts to authenticate, however displays an error on attempt. 
This PR adds dotenv to allow .env files to be read on local environments, closing issue #2 .
The codebase is setup to expect env vars from hosting services, not from local development environments. Adding **dotenv** package and required config statement rectifies this issue.