API service to facilitate integration with Cryptum SDK and blockchain APIs.
There are a few environment variables you need to configure first and those are placed in .env-sample
file.
CRYPTUM_ENVIRONMENT
- possible values are:testnet
ormainnet
.CRYPTUM_API_KEY
- Cryptum API key that you should create in Cryptum Dashboard.AUTH_API_KEY
- A chosen api key for intern authorization, if you don't provide it, your instance wont use authorization.
After configuration you need to install all dependencies using npm
or yarn
.
npm install
Run the command
# watch mode
npm run dev
# production mode
npm run build && npm run start
It's possible to run on docker.
docker-compose up -d
# unit tests
npm run test
# e2e tests
npm run test:e2e
# test coverage
npm run test:cov
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
- Make a project Fork
- Create a Branch for your feature (
git checkout -b feature/amazing-feature
) - Insert your changes (
git add .
) - Make a commit with your changes (
git commit -m 'feat(<folder-name>): Inserting a Amazing Feature !
) - Push the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
In order for us to accept your PR, you need to adhere to the following standards.
- Create using the code pattern currently used.
- Test your update and show artifacts in PR.
It's all 🤷🏻♂️
Distributed under the MIT license. See LICENSE
for more information.
Blockforce - SITE - HELLO@BLOCKFORCE.IN