Logo Lanfrica

j2k850/wisehub-server

Domain:

socioeconomicdigital infrastructure

Record type:

software
Creator:
j2k
Host:
WiseHub is an African focused customer intelligence platform that leverages AI-driven data analytics to deliver personalized financial services to best serve customers and drive financial inclusion. # wisehub-platform-server WiseHub is an African focused customer intelligence platform that leverages AI-driven data analytics to deliver personalized financial services to best serve customers and drive financial inclusion and economic mobility. ## Presentation Wisehub ## Getting Started ### Dependencies * Java 1.8 or higher * Maven 3.2 or higher * Apache Cassandra 3.11.1 (If testing locally) (or Docker image) ### Modules - ***data-model***: Contains all entities o persistence models that mapping to Cassandra Source, and also there are DAO's (repositories) for them. And also the connector to Cassandra. - ***core*** Contains all entities o persistence models that mapping to Mysql Source, and also there are DAO's for them. - ***api*** Spring boot application, with all services and controllers. ### Build ```console $ mvn test $ mvn clean package ``` ### Usage #### Run from maven/console * On the project root folder, run the following command: `mvn clean install -Dmaven.test.skip=true` . That will generate the different maven modules involved that are needed by the API. * If the previous operation was successful, run ` mvn spring-boot:run`. Will start the spring boot application for the API. Please, have in mind that this has a dependency on the Cassandra server (take a look at _Install and RUn Docker Cassandra_). #### Run from maven/eclipse *TBD ### Docker There is a Docker image to use Cassandra, in this case we need the last image 3.11.1: [Docker Library Cassandra Document|github.com] #### Install and Run Docker Cassandra To start the Cassandra service, Docker is needed. Once Docker is installed, a Container is needed in order to raise up the Cassandra server. Run the following command to perform that operation: ```console docker run --name wisechoize_cassandra -d -p 9042:9042 cassandra:3.11.1 ``` Once this is finished proceed with the steps below, to create the database schema. #### Copy cql file int …