Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 848 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 848 Bytes

IEDON-NET-API (Peer API for DN42)

This is the API server designed for auto-peering for iEdon-Net and the DN42. Based on Hono.js.

Structures

  • app.js: Entry point
  • routes.js: Define routes here
  • ./handlers: Handlers for each defined route in routes.js
  • providers: Extendable basic components
  • db: Sequelize Models and database context
  • common: shared functions
  • acorle-sdk: My personal internal tiny microservice integration. You can safely turn it off in config.js and just ignore it.

Install

bun install
cd acorle-sdk
bun install
cd ..
cp ./config.default.js ./config.js

Run dev

bun run dev # Using bun

Run prod

npm run prod # Using node as bun not support ed25519 for now