Skip to content

lightstreams-network/example-eshop

Repository files navigation

Lightstreams P2P eShop App

Demonstrating how Lightstreams tech stack can be practically used in order to build a decentralized eShop for managing, selling and purchasing of digital content.

This demo example is available at https://example-eshop.lightstreams.io and it demonstrates the following 2 features:

node_provider

shop_view

Install

yarn install

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deploy

npm run build // don't ask me why the pre-deploy script doesn't work
firebase login
firebase deploy -m "Migrating to latest JS SDK 0.20.0" --only=hosting

About

Example of a peer-to-peer eShop application built using the Lightstreams SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published