Start the development API server alongside Inngest and create your first administrator account.

Running the Dev Server#

Run the development server using tsx watch:

tsx watch src/server.ts

The server initializes Express and listens for requests on PORT.

Running Inngest Dev Server#

Voiceflow serves background jobs and Inngest functions through Express at /api/inngest.

Refer to Inngest's development workflow documentation to start an Inngest dev server pointed to your local Express endpoint at /api/inngest.

Creating the First Admin#

Run the admin script to provision or elevate the first administrator account:

tsx scripts/make-admin.ts

Verifying the Setup#

Verify that the server is operational by executing the test suite:

vitest run

You can also run type checking across the codebase to ensure your environment compiles cleanly:

tsc --noEmit