Skip to content

tw-bc-group/twbc-nft-api-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twbc-nft-api-service

Installation

(Back to top)

npm install

Usage

(Back to top)

Before start, you have to make sure that your database is running:

  • Initialize your docker env and create a database in your local
  • Migrate data into your database: npm run db:migrate:generate

And, we also need to provide some environment variables for system use such as db url; password etc.

Due to the security sake, we ignore the .env files for git

You need to create one in your local project directory

You can refer to .env.template file for setting proper environment variables accordingly

  • Run the Server in production mode : npm run start or Start typescript-express-starter
  • Run the Server in development mode : npm run dev or Dev typescript-express-starter
  • Run all unit-tests : npm test or Test typescript-express-starter
  • Check for linting errors : npm run lint or Lint typescript-express-starter
  • Fix for linting : npm run lint:fix or Lint:Fix typescript-express-starter

Development

(Back to top)

If you want to send request from your local, don't forget to add HTTP header: Authorization: Bearer 1

Blockchain

Testnet browser: http://58.33.6.114:28000/#/nft/token?denom=thoughtworks4f49da367c314a0695954cc97d9bdaff&tokenId=nft73e23738578e4fe2b7db73748b5f3c800000000002

Contribute

(Back to top)

Sponsor

(Back to top)

Adding new features or fixing bugs

(Back to top)

License

(Back to top)

GNU General Public License version 3

Footer

(Back to top)

Leave a star in GitHub, give a clap in Medium and share this guide if you found this helpful.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published