GithubHelp home page GithubHelp logo

lod's Introduction

OHDM/Linked Open Data

What is this

The idea of Linked Open Data is to repeat the same thing we already did with the www and web pages. The only difference is that we are now using data. So basically we are exposing data to the internet which links to other data on the internet, that's it. This particular implementation will be exposing the data of the Open Historical Data Maps project.

Quick Start

First of all, a detailed documentation will be available in the documentation repository of the OHDM project, but for the initial docs here is a quickstart.

This webapp is a springboot project, if you don't know what it is and how to eat it stop here and read THIS.
Now that you read the documentation thoroughly, or at least the getting started part, you can start this app.
First of all we need to create a application.properties file in the /src/main/resource/ directory.
This file should contain the following.

##/src/main/resource/application.properties
spring.datasource.url = the datasource URL e.g. jdbc:postgresql://localhost:5432/my_database
spring.datasource.username = username
spring.datasource.password = superAwesomeSecretPassword

spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQL9Dialect
spring.jpa.properties.hibernate.default_schema=someScheme #optional
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

Now that you've linked your datasource you can start the app via mavenwrapper, provided by springboot.

#For Linux/MacOS
./mvnw spring-boot:run

#For Windows
mvnw.cmd spring-boot:run

The wrapper is there to handle version disparities for you, it will download a compatible mvn version to run the app.

After all is said and done just visit http://localhost:8080/ which should show you the page with further links to discover the API.

lod's People

Contributors

murtukov avatar regrau avatar thsc42 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.