Skip to content

s373r/2022-interview-task-uplift-io

Repository files navigation

💻 Interview task: uplift.io

A server for blockchain indexes

Details: interview-task.pdf

Online-demo

💡 Please note:

HTTP response caching (5 sec) is enabled for all API endpoints

https://interview-task-uplift-io-2022.herokuapp.com/

  1. Will redirect to Swagger API documentation
  2. Please use it to make API requests

🚀 Run

💡 Please note:

You have to pass WEB3_HTTP_ENDPOINT=YOUR_INFURA_PROJECT_ENDPOINT as an environment variable

$ npm install
$ WEB3_HTTP_ENDPOINT=X npm run start:prod

🔨 Local development

# one-shot start
$ WEB3_HTTP_ENDPOINT=X npm run start

# watch mode
$ WEB3_HTTP_ENDPOINT=X npm run start:dev

Tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

✏️ Code conduction

This project uses Gitmoji for commit messages

📄 License

MIT