Create website

Single template

At the current moment we only have one template which is a e-commerce template.

1. POST: /generate

Body:

{
  firstName: "",
  lastName: "",
  companyName: "",
  logoUrl: "",
  bannerUrl: "",
  email: "",
  description: "",
  template: "Colo_Shop",
  csv: ""
};

//Ex : csv columns: "product id,product name,description,cost,product image url \n 1, test,test desc,120,https://test/test.png

Response:

{
    'directory': result
}

Append result to :

<ip address:port no>/pages/<result>

2. GET: /ipfsdeploy

Parameter :

id = <result>

//ex : <ip address:port no>/ipfsdeploy?id=<result>

Response:

{
    'data': hash <id>
}

//Ex : ipfs.io/ipfs/<hash>

Read more