Skip to content

Latest commit

ย 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Code of conduct

Contributing

Security policy

Stars

37 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages