Docs
Overview
Getting Started

Getting Started

In this chapter, I’ll introduce how to create a backend project based on dobs.

#Downloading a Template

You can create a project using the dobs CLI tool:

Terminal
npm create dobs

Available templates:

  • TypeScript (recommended)
  • JavaScript

#Manual Installation

You can also install dobs manually in an existing project.

  1. Install the dobs module.
Terminal
yarn add dobs
  1. Create the /app directory.

  2. Create dobs.config.ts (optional).

Typescript
import { defineConfig } from "dobs";
 
export default defineConfig({
  // ...
});
  1. Have fun!