ahmedsalahacc / blockchain-beeda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain Workshop: Blockchain Ethereum Digital Art (B.E.D.A)

How to install and use:

1* Type $(npm install) in the repo's terminal after cloning the repo 2* Type $(node app.js) and head to http://localhost:3500 to use the api

API

  • GET: /nextgen/date returns the date of the next generation
  • GET: /assets/all returns all the tokens related to our contract
  • GET: /assets redirects to /assets/(last id) returns the last added token
  • GET: /assets/(token_id) returns the data related to the token_id specified

About


Languages

Language:JavaScript 100.0%