UNPKG

web3.db-fileconnector

Version:

GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be

22 lines (20 loc) 1.07 kB
import MetadataRoutes from "./metadata/index.js"; import PluginsRoutes from "./plugins/index.js"; import SetupRoutes from "./setup/index.js"; import SettingsRoutes from "./settings/index.js"; import HealthcheckRoutes from "./healthcheck/index.js"; import DbRoutes from "./db/index.js"; import CeramicRoutes from "./ceramic/index.js"; import ContextsRoutes from "./contexts/index.js"; import LogsRoutes from "./logs/index.js"; export default async function (server, opts) { await server.register(CeramicRoutes, { prefix: "/ceramic" }); await server.register(ContextsRoutes, { prefix: "/contexts" }); await server.register(DbRoutes, { prefix: "/db" }); await server.register(HealthcheckRoutes, { prefix: "/healthcheck" }); await server.register(LogsRoutes, { prefix: "/logs" }); await server.register(MetadataRoutes, { prefix: "/metadata" }); await server.register(PluginsRoutes, { prefix: "/plugins" }); await server.register(SettingsRoutes, { prefix: "/settings" }); await server.register(SetupRoutes, { prefix: "/setup" }); }