npm install
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
orStart typescript-express-starter
- Run the Server in development mode :
npm run dev
or Devtypescript-express-starter
- Run all unit-tests :
npm test
orTest typescript-express-starter
- Check for linting errors :
npm run lint
orLint typescript-express-starter
- Fix for linting :
npm run lint:fix
orLint:Fix typescript-express-starter
If you want to send request from your local, don't forget to add HTTP header: Authorization: Bearer 1
Testnet browser: http://58.33.6.114:28000/#/nft/token?denom=thoughtworks4f49da367c314a0695954cc97d9bdaff&tokenId=nft73e23738578e4fe2b7db73748b5f3c800000000002
GNU General Public License version 3
Leave a star in GitHub, give a clap in Medium and share this guide if you found this helpful.