MCPcopy Index your code
hub / github.com/danscratch/pern

github.com/danscratch/pern @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
87 symbols 140 edges 33 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Introduction

PERN (postgres, express, react, node) is a framework that allows developers interested in these technologies to get up and running with a minimum of fuss. It's still a work in progress, but it has the following pieces:

  • node/express backend for API calls
  • postgres database with minimal schema to demonstrate functionality
  • React/Redux frontend to demonstrate simple functionality
  • configuration files (e.g., nginx)
  • Instructions on how to set everything up
TODO
  • Unit tests
  • Minimal React Native app

Documentation

Documentation can be found here.

License

This framework is made available under the Apache 2.0 license.

Core symbols most depended-on inside this repo

generateJwt
called by 2
backend/src/api/user.js
constructUserObject
called by 2
backend/src/db/user.js
validateUser
called by 2
backend/src/db/user.js
getUserById
called by 2
backend/src/db/user.js
onClickSignUp
called by 1
frontend/src/components/SignupForm.js
onClickLogin
called by 1
frontend/src/components/LoginForm.js
configureStore
called by 1
frontend/src/store/configureStore.js
fetchUserByJwt
called by 1
frontend/src/services/api.js

Shape

Method 40
Class 25
Function 22

Languages

TypeScript100%

Modules by API surface

frontend/src/components/SignupForm.js13 symbols
frontend/src/components/LoginForm.js10 symbols
frontend/src/containers/App.js9 symbols
frontend/src/containers/Signup.js8 symbols
frontend/src/containers/Root.js7 symbols
backend/src/db/user.js6 symbols
frontend/src/services/api.js4 symbols
frontend/src/actions/user.js4 symbols
frontend/src/components/StaticComponent.js3 symbols
frontend/src/components/PureComponent.js3 symbols
frontend/src/components/InputText.js3 symbols
frontend/src/components/InputSubmit.js3 symbols

For agents

$ claude mcp add pern \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact