Skip to content

🩶 Gorgeous Bun-Elysia boilerplate with TypeScript, ESLint and everything else you need to bootstrap your future perfect API.

License

Notifications You must be signed in to change notification settings

ImJustLucas/bun-elysia-boilerplate

Repository files navigation

🚀 Bun Elysia Boilerplate

Welcome to Bun Elysia Boilerplate! This is a starter template for building web applications using Bun.js and the Elysia framework.

📦 Installation

To get started with this boilerplate, simply clone the repository:

git clone <repository_url>

Then, install the dependencies:

bun install

🛠 Usage

Development

To run the application in development mode with automatic reload:

bun dev

⚙️ Configuration

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.

🙏 Acknowledgements

Thank to @Rock288, for the help i needed to fix the boilerplate.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request.

🌟 Acknowledgements

Special thanks to the Bun.js and Elysia communities for their support and contributions.

Happy coding! 🎉

About

🩶 Gorgeous Bun-Elysia boilerplate with TypeScript, ESLint and everything else you need to bootstrap your future perfect API.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published