Build Image docker build . -t sqwid-server
Run Image docker run -p 8080:8080 sqwid-server
Change Env docker run -p 8080:8080 --env NETWORK=reef_testnet sqwid-server
_ pass env vars on runtime using --env flag _
GET /api/noncePOST /api/authBODY:
{
address: '',
signature: ''
}POST /api/create/collectionHEADERS
Authorization: Bearer <jwt>BODY
{
name: '',
description: '',
fileData: [] // the image
}POST /api/create/collectibleHEADERS
Authorization: Bearer <jwt>BODY
{
name: '',
description: '',
fileData: [] // the media (image / video / audio)
}GET /api/get/collections/owner/:addressGET /api/get/collections/name/:nameGET /api/get/collections/id/:id