githubEdit

Quick Start

This guide will help you go from nothing to something with Velo in a few minutes.

Velo is designed to be simple and easy to use, yet powerful and extensible. Velo can be set up with just a 1 command, and you can start building your web application in seconds.

Before you begin, ensure you have the latest version of Bunarrow-up-right installed on your machine.

curl https://bun.sh/install | bash

Automatic Setup

To create a new Velo project, run the following command:

bun create velo my-app

This will create a new Velo project in the my-app directory, and will set up everything for you.

Once this is done, navigate to the project directory:

cd my-app

And start the development server:

bun dev

This will start the development server on http://localhost:3000. Open this URL in your browser to see your new Velo project.

Manual Setup

If you prefer to set up your project manually, you can do so by following these steps:

  1. Create a new project:

mkdir my-app && cd my-app
bun init
  1. Add Velo to your project:

  1. Open your project.json file and add these scripts:

  2. Setup your src/index.ts file:

  3. Start the development server:

This will start the development server on http://localhost:3000. Open this URL in your browser to see your new Velo project.

Project Structure

You can set up your project structure however you like, but we recommend the following:

Last updated