Skip to content

A lightweight and high-performance web framework for Bun.js

License

Notifications You must be signed in to change notification settings

Alsond5/TurboAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurboAPI

Static Badge GitHub package.json version GitHub Repo stars

Welcome to TurboAPI, a fast and efficient web framework, specifically designed for the Bun.js runtime. TurboAPI aims to provide a simple and intuitive API for building web applications and APIs, with an emphasis on performance and ease of use

Features

  • Basic syntax: Simple syntax and easy to use.
  • High Performance: Optimized for the Bun.js runtime to ensure fast and efficient processing.
  • Middleware Support: Easily extend your application with middleware functions [In development].
  • Routing: Simple and flexible routing to handle HTTP requests.
  • Extensible: Designed to be modular and easily extensible to fit your needs.
  • Lightweight: Minimal dependencies to keep your applications lean and fast.
  • WebSocket: TurboAPI supports server-side WebSockets. Very fast and easy to use.

Usage

To install dependencies:

bun install

Example:

import turboapi from "turboapi";

const app = turboapi();
const port = 8000;

app.get("/", (req, res) => {
    res.send("Hello World!");
});

app.listen(port, () => {
    console.log(`Server is running on ${port}`);
});

To run examples:

bun run examples/<example>/index.ts

Contributing:

We welcome contributions from the community! Please read our contributing guidelines to get started.

License:

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

About

A lightweight and high-performance web framework for Bun.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published