A standalone web server for Flatmarket.
npm install flatmarket-server
The server requires the following environment variables:
CORS_ORIGINS=["https://your-origin.com"]
PORT=8000
SCHEMA_URI=https://your-origin.com/flatmarket.json
STRIPE_SECRET_KEY=your_stripe_secret_key
Then run:
node ./node_modules/flatmarket-server/lib/start
See LICENSE.