To get started with this template, simply paste this command into your terminal:
bun create elysia ./elysia-example
To start the development server run:
bun run dev
To run all the tests, run:
bun test
To run the tests in each file, run:
bun test `test/math.test.ts`
or
bun test `test/mock.test.ts`
--watch
mode, which hard restarts Bun's process when imported files change.--hot
mode, which soft reloads the code (without restarting the process) when imported files change.
Open http://localhost:3000/ with your browser to see the result.