This documentation uses bun as a JavaScript runtime. In most cases this can be
replaced with npm if bun does not work as expected.
Install the required packages.
bun installGenerate an auth secret which encrypts tokens. Learn more
bunx auth secretbun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --openIf typing gets messed up in your IDE you can regenerate them with:
bun run checkTo run the test execute.
bun testTests are run via the build in bun testsuite. There is a test script in the
package.json so using npm run test should also work aslong as bun is installed.
To create a production version of your app:
bun run buildYou can preview the production build with bun run preview.
To deploy your app, you may need to install an adapter for your target environment.