Skip to content

A powerful, lightweight server built with Bun.js and TypeScript.

Notifications You must be signed in to change notification settings

Milan-960/Bun.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bun.js Awesome Project

Overview

A powerful, lightweight server built with Bun.js and TypeScript.

Features

  • 🚀 Fast Bun.js runtime
  • 🛡️ Middleware support
  • 🎨 ASCII Art generation
  • 📦 Easy deployability

Prerequisites

  • Bun 1.0+
  • Node.js (optional, for some dev tools)

Installation

# Clone the repository
git clone https://your-repo-url.git

# Install dependencies
bun install

Running the Project

# Development mode
bun dev

# Production build
bun build
bun start

Available Routes

  • / - Home route with ASCII art
  • /health - Health check endpoint
  • /ascii - Custom ASCII art generation

Deployment

Vercel Deployment

  1. Ensure you have the Vercel CLI installed
  2. Run vercel in the project directory
  3. Follow the prompts

Environment Variables

  • PORT - Custom port for the server (default: 3000)

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

MIT License

About

A powerful, lightweight server built with Bun.js and TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published