Welcome to Bun Elysia Boilerplate! This is a starter template for building web applications using Bun.js and the Elysia framework.
To get started with this boilerplate, simply clone the repository:
git clone <repository_url>
Then, install the dependencies:
bun install
To run the application in development mode with automatic reload:
bun dev
The boilerplate comes with some default configurations, including:
- Elysia Modules: Integrated modules like
@elysiajs/cookie
,@elysiajs/cors
, and@elysiajs/jwt
. - Middleware: Middleware for enhanced security with
elysia-helmet
, and a custom JWT verification middleware. - Database Integration: MongoDB integration with
mongoose
. - TypeScript Support: Full support for TypeScript with type definitions.
- API as Modules: Modularized API design for better organization and scalability.
- Linting: ESLint and Prettier configurations for code quality.
Thank to @Rock288, for the help i needed to fix the boilerplate.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to open an issue or submit a pull request.
Special thanks to the Bun.js and Elysia communities for their support and contributions.
Happy coding! 🎉