MCPcopy Index your code
hub / github.com/dabit3/cdk-appsync-neptune

github.com/dabit3/cdk-appsync-neptune @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
5 symbols 11 edges 8 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GraphQL API with CDK, AppSync, and Amazon Neptune

This project deploys a basic GraphQL API built with Neptune Graph database, AWS AppSync, and AWS Lambda.

Getting started

First, clone the project:

git clone git@github.com:dabit3/cdk-appsync-neptune.git

Next, change into the directories and install the dependencies:

cdk cdk-appsync-neptune

npm install

# or

yarn

Next, also change into the lambda-fns directory to install the dependencies there:

cd lambda-fns

npm install

# or

yarn

To deploy the API and services, build the project and then run the deploy command:

npm run build && cdk deploy

Testing it out

To test it out, open the AWS AppSync Console and try running the following queries:

query listPosts {
  listPosts {
    id
    title
    content
  }
}

mutation createPost {
  createPost(post: {
    content:"Hello world"
    title: "My first pos!!"
  }) {
    id
    title
    content
  }
}

Core symbols most depended-on inside this repo

listPosts
called by 1
lambda-fns/listPosts.ts
createPost
called by 1
lambda-fns/createPost.ts
constructor
called by 0
lib/appsync-neptune-stack.ts

Shape

Class 2
Function 2
Method 1

Languages

TypeScript100%

Modules by API surface

lib/appsync-neptune-stack.ts3 symbols
lambda-fns/listPosts.ts1 symbols
lambda-fns/createPost.ts1 symbols

For agents

$ claude mcp add cdk-appsync-neptune \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page