Skip to content

Toncells/toncells1-back-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend for app.toncells.org

endpoints

PORT: 9917

GET /api/area/ ({areaId}) (binFile) <- get area pic

GET /api/mapOriginal/ ({}) (binFile) <- get orig map pic
GET /api/mapMinted/ ({}) (binFile) <- get minted cells map pic
GET /api/mapFree/ ({}) (binFile) <- get free cells map pic
GET /api/mapEdited/ ({}) (binFile) <- get edited map pic

GET /api/status/ ({}) ({status, data}) <- get bigArray data (10k cells data)

POST /api/paid/ ({ids, wallet, hash}) ({status}) <- set cell as paid
POST /api/reserve/ ({ids}) ({status}) <- set cell as reserved
POST /api/unreserve/ ({ids}) ({status}) <- unreserve cell (set cell as free)
POST /api/update/ ({signature, publicKey, wallet, ids, image, username, text, link}) ({status}) <- update cell data

About

this repo contains all the back-end logic for https://app.toncells.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published