Appearance
Configuration
VibeX uses vibe.config.ts
for project configuration.
Example
ts
// vibe.config.ts
export default {
port: 3000,
database: {
type: 'sqlite',
url: 'sqlite://./todo-app.db',
},
// ...other options
};
Options
port
: Server portdatabase
: DB config (sqlite, mysql, postgres, etc.)entities
: Path to entity definitionscontrollers
: Path to controllersmiddleware
: Custom middleware
See Entities and Controllers for more.