Make sure you have bun installed. If you dont, install it from your package manager or from The official website
Make sure you have mariadb or mysql installed to.
$ bun install
Fill out a .env file in the project root, looking like this:
## Example config
JWT_SECRET=GoodKey1234
db_host=127.0.0.1
db_user=tester
db_password=tester1234
db_name=openchamp
Now run the command:
$ bun run drizzle:generate
$ bun run dev
DONE!
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
Open http://localhost:3000/ with your browser to see the result.