Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/electric-sql/electric
/ api.js
File
api.js
examples/write-patterns/shared/backend/api.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
bodyParser from
'body-parser'
2
import
cors from
'cors'
3
import
express from
'express'
4
import
pg from
'pg'
Callers
nothing calls this directly
Calls
15
fetch
Function · 0.85
json
Method · 0.80
optional
Method · 0.80
end
Method · 0.80
parse
Method · 0.80
query
Method · 0.80
release
Method · 0.80
listen
Method · 0.80
createTodo
Function · 0.70
updateTodo
Function · 0.70
deleteTodo
Function · 0.70
get
Method · 0.65
Tested by
no test coverage detected