No description
- Updated .gitignore to exclude generated files and database - Modified package.json to change dev script and add new dependencies - Removed src/index.ts and created app.ts for Elysia server initialization - Added environment variable configuration in config/env.ts - Implemented MQTT adapter in adapter/mqtt.ts for message handling - Created Prisma client in prisma/client.ts and defined schema in prisma/schema.prisma - Added seeding script in prisma/seed.ts for measurement points - Established logging utility in utils/logger.ts for structured logging - Created bed router in routes/bed.ts for handling bed-related routes |
||
---|---|---|
adapter | ||
config | ||
prisma | ||
routes | ||
utils | ||
.env | ||
.gitignore | ||
app.ts | ||
bun.lock | ||
package.json | ||
README.md | ||
tsconfig.json |
Elysia with Bun runtime
Getting Started
To get started with this template, simply paste this command into your terminal:
bun create elysia ./elysia-example
Development
To start the development server run:
bun run dev
Open http://localhost:3000/ with your browser to see the result.