app-offers-needs-marketplace Svelte Themes

App Offers Needs Marketplace

[OUTDATED] A ValueFlows-compatible offers & needs matching marketplace app, built with Svelte and running on Holo-REA.

Warning: This project is highly outdated, and code should not be expected to run currently

ValueFlows marketplace app

The 'kitchen sink' of REA-based marketplaces: gifting, requests, offers & needs, exchanges, sales, multilateral trades & multi-value exchanges.

Development setup

Prerequisites

  • npm i -g pnpm if you don't already have PNPM installed

Initialising

  • clone this repo
  • pnpm i

Running for development

  • Simply pnpm run dev and navigate to localhost:5000.
  • By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

Deploying to the web

With Vercel

Install vercel if you haven't already:

npm install -g vercel

Then, from within your project folder:

cd public
vercel deploy --name my-project

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public my-project.surge.sh

Framework

License

Apache 2.0

Top categories

Loading Svelte Themes