百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

age-viewer

> 数据库
开源

专为快速分析和实时数据处理而优化的图数据库。它作为 PostgreSQL 的扩展提供。

377 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

专为快速分析和实时数据处理而优化的图数据库。它作为 PostgreSQL 的扩展提供。

What is Apache-Age Viewer

Apache-Age Viewer is a web based user interface that provides visualization of graph data stored in a postgreSQL database with AGE extension. It is graph visualisation tool, for Apache AGE.

This is a sub-project of the Apache AGE project.

Recommend Node Version & install module

  • Node version - ^14.16.0

  • Node Module - pm2

Install latest pm2 with : npm i pm2

pm2 is an NPM module to run the project in production mode, and hence is optional for getting started with setting up development environment for Age-Viewer

Running Age-Viewer

  • Install the required node modules using :
    npm run setup
  • Run Age-Viewer using :

npm run start

This will start the age-viewer on http://localhost:3000 if port 3000 is free.

How to build using command

  • Build the front-end :

npm run build-front

  • Build the back-end :

npm run build-back

  • Start the project in production mode :

      pm2 stop ag-viewer-develop
    
      pm2 delete ag-viewer-develop
    
      pm2 start ecosystem.config.js
    

    How to start using Age-Viewer

  • To start using Age-Viewer we need to have a running postgreSQL database server with Apache Age Extension

    Setting up the PostgreSQL server with AGE extension

    • Easiest way for Windows, Mac-OS and Linux Environment using Docker

    Install docker in advance (https://www.docker.com/get-started), install the version compatible with your OS from the provided link.

    Run Using Docker :

    • Get the docker image -

    docker pull apache/age

    • Create AGE docker container
    bash
    docker run --name myPostgresDb -p 5455:5432 -e POSTGRES_USER=postgresUser \
    -e POSTGRES_PASSWORD=postgresPW -e POSTGRES_DB=postgresDB -d apache/age
    Docker variables Description
    --name Assign a name to the container
    -p Publish a container’s port(s) to the host
    -e Set environment variables
    -d Run container in background and print container ID
  • To Get the running log of the docker container created - docker logs --follow myPostgresDb

  • To Get into postgreSQL Shell (There are two ways this can be done) -

    • First get into docker shell using - docker exec -it myPostgresDb bash

Then get into postgreSQL shell using - psql -U postgresUser postgresDB

OR

- Alternatively postgres shell can also be assessed directly (without getting into the docker shell) -
	`` psql -U postgresUser -d postgresDB -p 5455 -h localhost``
	and put in ``postgresPW`` when prompted for password.
  • After logging into postgreSQL shell follow the Post-Installation instruction to create a graph in the database.

Connect Apache Age-Viewer to PostgreSQL Database

Initial Connection Layout

To Connect to postgreSQL server running from Docker Container

  • Connect URL - localhost
  • Connect Port - 5455
  • Database Name - postgresDB
  • User Name - postgresUser
  • Password - postgresPW

The following field is same as used to make the docker container specified above as flags.

License

Apache AGE Viewer is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptage-databaseanalyticsgraph-databasegraphdb

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库