MovieViz is a web application that allows users to visualize movie data. It uses Node.js and Express for the backend, and EJS for the frontend.
-
Clone the repository:
git clone https://github.com/okg21/movieviz.git
-
Install the dependencies:
cd movieviz npm install dependencies
-
Start Neo4j Database
Initialize your Neo4j database with username: 'neo4j', password: '123jn1lk2j3n' (Or change authentication details inside app.js) Run load-movies.cypher
-
Create a .env file and store your OpenAI token such as:
OPENAI_TOKEN = <YOUR OPENAI TOKEN>
-
Start the application:
node app.js
-
Open your web browser and navigate to
http://localhost:3000
.
app.js
: This file contains the main server logic and routes./views/index.ejs
: This file contains the application's main view.