Skip to content

Latest commit

 

History

History
 
 

elysia

README.md

ElysiaJS - Fast, and friendly Bun web framework

Elysia Feature Sheet

Introduction

ElysiaJS is a fast, and friendly Bun web framework.

Pronounce as "eh-LIHZ-iy-ah"・ エリシア ・ เอลิเซีย

Building on top of 3 philosophies:

  • Performance
    • You shall not worry about the underlying performance
  • Simplicity
    • Simple building blocks to create an abstraction, not repeating yourself
  • Flexibility
    • You shall be able to customize most of the library to fit your need

Designed with TypeScript in mind, you don't need to understand TypeScript to take advantage of Elysia. The library understands what you want and automatically infers the type from your code.

Elysia Docs

Important Libraries

The tests were run with:

Database

There are no database endpoints or drivers attached by default.

To initialize the application with one of these, run any one of the following commands:

$ DATABASE=postgres bun start

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

http://localhost:8080/queries?queries=10

UPDATE

http://localhost:8080/updates?queries=10

Fortune

http://localhost:8080/fortunes