Expand description

The server crate provides a server with the gateway worker (via miniflare) and a bridge server connecting the worker to an sqlite db

Example

const PORT: u16 = 4000;

// `common::environment::Environment` must be initialized before this

let server_handle = server::start(PORT).unwrap();

Modules

Functions

  • starts a development server by unpacking any files needed by the gateway worker and starting the miniflare cli in user_grafbase_path in Environment