Skip to content

DennisPing/digital-art-marketplace-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Users API

GET: Get All Users

/api/users

POST: Create New User

/api/users

PUT: Update User

/api/users/:userId

DELETE: Delete User

/api/users/:userId

Collection API

GET: Get All Collections

/api/collection
{
    name: string,
    encodedName: string,
    contractAddress: string,
    description: string,
    thumbnailUrl: string
}

Shop API

GET: Get Shop Page

/api/shop/:contractAddress/:page
[
    {ProductObject1},
    {ProductObject2},
    ...
    {ProductObject25}
]

Product API

GET: Get One Product Details

/api/product/:contractAddress/:tokenId
{
    name: string,
    contractAddress: string,
    tokenId: string,
    chain: string,
    tokenStandard: string,
    description: string,
    image: string
}

GET: Get One Transaction

/api/product/tx/:contractAddress/:tokenId
{
    assetType: string,
    price: string,
    priceUsd: string,
    transactionDate: string
}

About

An art marketplace backend API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%