$ npm install
$ npm install -g ts-node
$ npm run create-env // optional
add your ASSETLAYER_APP_SECRET to the .env
$ npm run dev
$ npm start
This step should automatically include building a distribution version, but this may need configured depending on host.
$ npm run build
The routes in the proxy mirror the structure in the Asset Layer API.
See more: (docs)
As an alternative to forking the repo, you can merge from a remote:
$ git remote add asset-layer-proxy-express https://github.com/unbounded-enterprise/asset-layer-proxy-express.git
$ git fetch asset-layer-proxy-express
Now in your editor, confirm you're on the branch you want to merge into, then:
$ git merge asset-layer-proxy-express/main
Finally, push the merge commit to your repo, IE:
$ git push -u origin main