/ultra-sound-music

Web3WeekendHack project

Primary LanguageJavaScript

Ultra Sound Music

Client

cd client

npm i

npm run start

Contracts

code located in /contracts

cd contracts

npm i

// compiles test ERC20 contract

npx hardhat compile

// deploys ERC20 contract to local running network

npx hardhat run scripts/sample-deploy.js

// runs local network and exposes JSON-RPC server at http://127.0.0.1:8545/

npx hardhat node

Server

create a .env file following the example in .env.example

to run locally you must mongodb installed and run mongod to get a local instance running

cd api

npm i

npm run start

endpoint

/cache/artists
/cache/bands
/cache/tracks
/cache/tokens/all
/create_metadata_uri