This is probably the best template that I've seen so far for making an easy to use app in nodejs.
It uses Alby to handle the lightning payment processing. You only need to setup a lightning address with them and provide it to the app. The rest is all taken care of, authentication, payments, and qr-code generation.
For someone who doesn't have experience making apps (but has experience coding in python and fortran), what would be your recommendation to take this template and make something useful out of it? What prerequisites would be needed to deploy something from nearly scratch all the way to the end? Plenty of ideas on what my app could be about...
This project uses JavaScript and the Express.js web framework. You'd use yarn.js to run the project and install additional packages. It does server side rendering of HTML templates (.ejs files), of course styles are CSS.
Thanks. I've done everything, except when i type npm start, I'm getting
You need to configure your environment variables first. Check out the README file!
However, I've put my getalby address in the .env file (without any spaces around the = character). I've even restarted the terminal in case something has to be sourced like for .bashrc files.
Alby login throws Network Error, but that's probably outside of this app's control.
Anyhow, can confirm it looks like a neat template to start building on. Good job!
It's a great starting template, but I get the following error when trying to sign in with Bitcoin or scanning the QR code:
TypeError: window.webln.lnurl is not a function
at window.addEventListener.capture (inpageScript.bundle.js:1:13624)
window.addEventListener.capture @ inpageScript.bundle.js:1
npm start
, I'm gettingkill -9 $(lsof -ti:3000)
).