https://github.com/s373r/2022-interview-task-uplift-io
A server for blockchain indexes
https://github.com/s373r/2022-interview-task-uplift-io
interview nestjs nodejs typescript web3js
Last synced: about 2 months ago
JSON representation
A server for blockchain indexes
- Host: GitHub
- URL: https://github.com/s373r/2022-interview-task-uplift-io
- Owner: s373r
- License: mit
- Created: 2022-03-23T11:38:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T20:19:38.000Z (about 4 years ago)
- Last Synced: 2025-03-22T17:44:14.180Z (about 1 year ago)
- Topics: interview, nestjs, nodejs, typescript, web3js
- Language: TypeScript
- Homepage: https://interview-task-uplift-io-2022.herokuapp.com/
- Size: 498 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💻 Interview task: [uplift.io](https://uplift.io/)
A server for blockchain indexes
Details: [interview-task.pdf](./assets/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
```shell
$ npm install
$ WEB3_HTTP_ENDPOINT=X npm run start:prod
```
## 🔨 Local development
```bash
# one-shot start
$ WEB3_HTTP_ENDPOINT=X npm run start
# watch mode
$ WEB3_HTTP_ENDPOINT=X npm run start:dev
```
Tests
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
```
## ✏️ Code conduction
This project uses [Gitmoji](https://gitmoji.carloscuesta.me) for commit messages
## 📄 License
[MIT](LICENSE)