Skip to content

TIHBS/scd-registry-frontend

Repository files navigation

Frontend

This is the frontend of the SCD registry. It can be served with serve, IPFS or Swarm. This repository contains submodules. Thus, users should clone this repository by running:

git clone --recurse-submodules -j8 https://github.com/TIHBS/scd-registry-frontend.git

Or after cloning, it users should run:

git submodule update --init --recursive

Requirements

  • npm
  • node
  • docker
  • docker-compose

Build

To build the project:

npm i
npm run build

Serve

To serve the Frontend with serve run:

npm start

To serve the Frontend with IPFS run:

IPFS_GATEWAY=<url-to-gateway> npx ts-node scripts/upload-to-ipfs.ts 

To serve the Frontend with Swarm run:

SWARM_API=<url-to-swarm-api> SWARM_DEBUG=<url-to-swarm-debug> npx ts-node scripts/upload-to-swarm.ts 

Test

To test the project run:

npm test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published