{"id":27976923,"url":"https://github.com/neo4j-examples/movies-java-bolt","last_synced_at":"2025-05-08T01:42:38.570Z","repository":{"id":37866429,"uuid":"56211504","full_name":"neo4j-examples/movies-java-bolt","owner":"neo4j-examples","description":"Neo4j Movies Example application with SparkJava backend using the neo4j-java-driver","archived":false,"fork":false,"pushed_at":"2025-04-25T00:34:45.000Z","size":117,"stargazers_count":91,"open_issues_count":8,"forks_count":73,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-08T01:42:32.032Z","etag":null,"topics":["bolt","cypher","graph","graph-database","java","movies-api","neo4j"],"latest_commit_sha":null,"homepage":"http://my-neo4j-movies-app.herokuapp.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neo4j-examples.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-04-14T06:06:53.000Z","updated_at":"2025-03-21T10:31:21.000Z","dependencies_parsed_at":"2024-02-07T13:31:15.763Z","dependency_job_id":"3c4e5065-9f35-4338-a9b7-9e67257d8cb0","html_url":"https://github.com/neo4j-examples/movies-java-bolt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-examples%2Fmovies-java-bolt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-examples%2Fmovies-java-bolt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-examples%2Fmovies-java-bolt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-examples%2Fmovies-java-bolt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-examples","download_url":"https://codeload.github.com/neo4j-examples/movies-java-bolt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252983759,"owners_count":21835758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bolt","cypher","graph","graph-database","java","movies-api","neo4j"],"created_at":"2025-05-08T01:42:37.821Z","updated_at":"2025-05-08T01:42:38.540Z","avatar_url":"https://github.com/neo4j-examples.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Neo4j Movies Application: Quick Start\n\nimage::https://github.com/neo4j-examples/movies-java-bolt/actions/workflows/maven.yml/badge.svg[CI]\n\nimage::http://dev.assets.neo4j.com.s3.amazonaws.com/wp-content/uploads/movie_application.png[float=right,width=400]\n\nThis example application demonstrates how easy it is to get started with https://neo4j.com/developer[Neo4j] in Java.\n\nIt is a very simple web application that uses our Movie graph dataset to provide a search with listing, a detail view and a graph visualization.\n\n=== The Stack\n\nThese are the components of our Web Application:\n\n* Application Type:         Java-Web Application\n* Web framework:            https://www.sparkjava.com/[Spark-Java] (Micro-Webframework)\n* Neo4j Database Connector: https://github.com/neo4j/neo4j-java-driver[Neo4j-Java-Driver] for Cypher https://neo4j.com/developer/java[Docs]\n* Database:                 Neo4j-Server (5.x) with multi-database\n* Frontend:                 jquery, bootstrap, https://d3js.org/[d3.js]\n\nProvision a database quickly with https://sandbox.neo4j.com/?usecase=movies[Neo4j Sandbox] or https://neo4j.com/cloud/aura/[Neo4j Aura].\n\n=== Endpoints:\n\nGet Movie\n\n----\n// JSON object for single movie with cast\ncurl http://localhost:8080/movie/The%20Matrix\n\n// list of JSON objects for movie search results\ncurl http://localhost:8080/search?q=matrix\n\n// JSON object for whole graph viz (nodes, links - arrays)\ncurl http://localhost:8080/graph\n----\n\n=== Setup\n\nMake sure to install a https://jdk.java.net/[JDK 17+] and https://maven.apache.org/download.cgi[Apache Maven].\n\n=== Run locally\n\nJust run:\n\n[source,shell]\n----\nmvn compile exec:java\n----\n\nGo to http://localhost:8080.\n\nYou can search for movies by title or and click on any entry.\n\nOr better you can run Neo4j locally to experiment with your own data.\nStart your local Neo4j Server in Neo4j Desktop (https://neo4j.com/download[Download \u0026 Install]), open Neo4j Browser.\nAfter logging in, install the Movies graph data set by entering the `:play movies` command, click the CREATE-statement, and hit the triangular \"Run\" button.\n\n\n=== Configuration options\n\n[%header,cols=2*]\n|===\n|Environment variable name\n|Default value (or N/A)\n\n|PORT\n|8080\n\n|NEO4J_URI\n|neo4j+s://demo.neo4jlabs.com\n\n|NEO4J_USER\n|movies\n\n|NEO4J_PASSWORD\n|movies\n\n|NEO4J_DATABASE\n|movies\n|===\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-examples%2Fmovies-java-bolt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-examples%2Fmovies-java-bolt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-examples%2Fmovies-java-bolt/lists"}