Skip to content

Latest commit

 

History

History

flatmarket-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

flatmarket-server

A standalone web server for Flatmarket.

Installation

npm install flatmarket-server

Usage

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

License

See LICENSE.