Project

bbserver

0.0
The project is in a healthy, maintained state
A lightweight Rack-based web framework inspired by Express.js, designed for simplicity and speed.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.0

Runtime

>= 2.0
~> 2.6
 Project Readme

BBServer

A lightweight, Express-inspired HTTP server framework for Ruby, built on top of Rack.

Installation

Add this line to your application's Gemfile:

gem 'bbserver'

And then execute:

bundle install

Or install it yourself as:

gem install bbserver

Quick Start

bbserver is designed to be used with any Rack-compliant server like Puma.

  1. Create your application file (e.g., app.rb):
require 'bbserver'

# Currently returns a basic "Hello BBServer" response
App = BBServer::Server.new
  1. Create a config.ru file in the same directory:
require_relative 'app'
run App
  1. Run your server:
rackup config.ru

Running Tests

This project uses RSpec for testing. To run the suite:

rspec

License

The gem is available as open source under the terms of the MIT License.