Getting Started
Get up and running with Thunder - the fast, serverless-first Deno framework.
Introduction
Thunder is a modern, serverless-first HTTP framework built on top of Deno.js. Designed for developers who value speed, type-safety, and simplicity, Thunder eliminates the boilerplate of traditional server frameworks and lets you focus entirely on building your API - not configuring infrastructure.
Because Thunder runs on Deno's serverless runtime model, every request is handled in an isolated, stateless execution context. This means zero cold-start penalties in production, predictable memory consumption, and a dramatically simpler deployment story - no complex build pipelines, just your code.
Prerequisites
Before you begin, ensure you have Deno installed on your machine. Deno is the only runtime dependency Thunder requires.
Visit the official Deno installation guide to install Deno for your operating system.
Installation
Clone the Thunder Repository
Start by cloning the official Thunder repository to your local machine:
git clone https://github.com/your-org/thunder.git my-thunder-app
cd my-thunder-appInitialize the Project
Once inside the project directory, run the initialization task to set up your project:
deno task initRemember!
The command deno task init is only intended for initializing a freshly cloned project. Do not run this command again after your initial setup - it will delete your existing .git folder and reinitialize the repository, potentially causing irreversible loss of your version history.
Start the Development Server
With the project initialized, start the development server using:
deno task devOnce the development server starts listening, open your browser or an API client such as Postman and send a request to: http://localhost:8000