j-kon / naija-food-for-sats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naija Food for sats

This is an example media store powered by Lightning payments. The accompanying tutorial/guide can be found on Medium

Tools

Polar is required.

Configuration

Copy lnd's gRPC protocol from here and place in the backend dir.

References to the lnd admin.macaroon, tls.cert, and host:port need to be filled in before starting the backend server.

Media files go in backend/static. Thumbnails go in frontend/public/assets.

Metadata for media is set in the frontend/App.js file.

Run

Express Server (backend)

Run node server.js from the backend dir.

React Frontend (frontend)

Run npm start from the frontend dir.

Open http://localhost:3000 to view in the browser.

About


Languages

Language:JavaScript 84.3%Language:CSS 8.5%Language:HTML 7.2%