Coder Social home page Coder Social logo

lmjmt / explorer-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niluplatform/explorer-api

0.0 0.0 0.0 32 KB

Expose RestApi to explore Nilu and other eth-based crypto currencies.

Home Page: https://meta.nilu.tech

License: MIT License

Dockerfile 0.21% Shell 0.03% Java 99.76%

explorer-api's Introduction

explorer-api

Explorer-api runs as a standalone SprinBoot application and expose RestApi to explore Nilu and other eth-based crypto currencies. It connects directly to a Gilu RPC, hence you can setup your own private Nilu Explorer if you wish. No need for servers, hosting or trusting any third parties to display chain data.

JOIN US

discord:

Discuss this project at: discord.io/nilu

twitter

Follow us on Twitter NiluPlatfrom

Technical Details

The project is built on a Java8+, SpingBoot, Web3J and MongoDB as the DBMS. Use Web3J to listen to an Ethereum RPC Backend, parse generated blocks and then store usefull information in database for further Queries.

Getting started

Prerequisites

If you run the project in you computer, please make sure you have the following installed and running properly:

  • JDK1.8+
  • MongoDB
  • Maven

Installation

    git clone https://github.com/NiluPlatform/explorer-api.git

Then you can run it in IDE or via command line and browse to the project at localhost:8089

Docker

You can run the Explorer-api with "docker run" or Docker Compose.

Dockerfile

After you cloned the source go to explorer-api directory:

mvn clean package
docker build --build-arg JAR_FILE=target/explorer-0.0.1-SNAPSHOT.jar -f Dockerfile -t nilu/explorer .
    

Then you can use docker images to run the Explorer. If you run in docker, you should first run mongodb image

docker run -p 27017:27017 -v $PWD/db:/mongo/db -d mongo
docker run --name nilu-api --link you_mongodb_image_name:mongo -p 8089:8089 -t nilu/explorer

Docker-Compose

After you run the docker build command above, there is an image named nilu/explorer in the docker container.

In explorer-api directory, you can run this command:

docker-compose up -d

You started all the services

explorer-api's People

Contributors

mariameda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.