GithubHelp home page GithubHelp logo

bigmontz / movies-dotnetcore-bolt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j-examples/movies-dotnetcore-bolt

0.0 0.0 0.0 106 KB

License: Apache License 2.0

C# 63.41% HTML 36.59%

movies-dotnetcore-bolt's Introduction

Neo4j Movies Application: Quick Start

CI

The Stack

These are the components of our Web Application:

  • Application Type: .NET Core Application

  • Web framework: ASP.NET core

  • Neo4j Database Connector: Neo4j .NET Driver for Cypher Docs

  • Database: Neo4j-Server 3.5, or 4.x with multi-database

  • Frontend: jquery, bootstrap, d3.js

Provision a database quickly with Neo4j Sandbox or Neo4j Aura.

Endpoints:

Get Movie

// JSON object for single movie with cast
curl http://BASE_URL/movie/The%20Matrix

// list of JSON objects for movie search results
curl http://BASE_URL/search?q=matrix

// JSON object for whole graph viz (nodes, links - arrays)
curl http://BASE_URL/graph

Setup

This uses the ASP.NET core framework, along with the official Neo4j .NET driver.

Run:

Start this application with:

dotnet run

You can search for movies by title or and click on any entry.

Configuration options

Note
These are preferably configured via Properties/launchSettings.json.
Environment variable name Default value (or N/A)

PORT

8080

NEO4J_URI

neo4j+s://demo.neo4jlabs.com

NEO4J_USER

movies

NEO4J_PASSWORD

movies

NEO4J_DATABASE

movies

NEO4J_VERSION

4

Please set NEO4J_VERSION to 3.5 when running Neo4j 3.5.x. Leave as is otherwise.

To run the database locally as well, start your local Neo4j Server (Download & Install), open Neo4j Browser. Then install the Movies data-set with :play movies, click the statement, and hit the triangular "Run" button.

Then, override the relevant environment variables above.

movies-dotnetcore-bolt's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar fbiville 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.