MCPcopy Index your code
hub / github.com/bmdavis419/tapir-app

github.com/bmdavis419/tapir-app @main

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

Tapir App Example

Goals of this app: https://bmdavis41902.notion.site/Tapir-App-Goals-d33eb7f8a5a94725af3f07cae2ecd86c

Getting Started

  1. Ensure you have Go installed & download task https://taskfile.dev/installation/
  2. Download the needed packages task install
  3. Create and populate the app.env file with the needed environment variables, can be found in app.env.example
  4. Start the dev server task dev
  5. View the API docs at http://localhost:8080/swagger

Note: for Windows users, update your bin & cmd string to include the .exe extension in .air.toml file before running task dev

bin = "./tmp/main.exe"
cmd = "go build -o ./tmp/main.exe cmd/http/main.go"

Deployment

Railway is the recommended deployment platform, but any platform that supports Docker should work.

Reference Video: https://youtu.be/C3cIIz73Q3s

Core symbols most depended-on inside this repo

Gracefully
called by 1
pkg/shutdown/gracefully.go
BootstrapMongo
called by 1
internal/storage/mongo.go
CloseMongo
called by 1
internal/storage/mongo.go
NewTodoStorage
called by 1
internal/todo/storage.go
createTodo
called by 1
internal/todo/storage.go
getAllTodos
called by 1
internal/todo/storage.go
AddTodoRoutes
called by 1
internal/todo/router.go
NewTodoController
called by 1
internal/todo/controller.go

Shape

Function 11
Struct 6
Method 4

Languages

Go100%

Modules by API surface

internal/todo/controller.go6 symbols
internal/todo/storage.go5 symbols
cmd/http/main.go3 symbols
internal/storage/mongo.go2 symbols
config/viper.go2 symbols
pkg/shutdown/gracefully.go1 symbols
internal/todo/router.go1 symbols
docs/docs.go1 symbols

Datastores touched

todosCollection · 1 repos
(mongodb)Database · 1 repos

For agents

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

⬇ download graph artifact