/juniter

Juniter, SpringBoot duniter stuff

Primary LanguageJava

Usage

Install

sudo apt-get install graphviz git maven postgresql
git clone https://github.com/Bertrandbenj/juniter
mvn spring-boot:run








su - postgres
psql

CREATE USER testuser PASSWORD 'junipass';
CREATE SCHEMA testdb;
GRANT ALL ON SCHEMA testdb TO testuser;


Configuration

Check application.yml and overwrite it or set individual properties

juniter.simpleloader.enabled=false

Maybe useful commands

https://stackoverflow.com/questions/49507160/how-to-install-jdk-10-under-ubuntu

sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
sudo apt-get install oracle-java10-set-default

## Or simply, set java 10
export JAVA_HOME=/usr/lib/jvm/java-10-oracle

build jar jar

mvn package spring-boot:repackage

Certifications

certbot certonly --force-renew --cert-name juniter.bnimajneb.online

Java model and HTTP rest api for duniter

This is a java implementation that is strongly dependant on SpringBoot framework and replicate the blockchain It is not yet a calculating node of the network

Features (Not quite finished)

  • Near to invisible json serialization process
  • Postgresql
  • @Annotation typing of the data model (basic type validation + storage semantic)
  • Simple html page templated with jade
  • GET /blockchain/...
  • GET /tx/history/[pubkey]
  • Baby WS2P
  • Walking Graphql
  • Graphviz graphs

Goals

  • Whatever