wasp/examples/waspleau/main.wasp

28 lines
494 B
JavaScript

app waspleau {
title: "Waspleau",
server: {
setupFn: import serverSetup from "@ext/serverSetup.js"
},
db: { system: PostgreSQL },
dependencies: [
("bull", "4.1.1"),
("axios", "^0.21.1")
]
}
route RootsRoute { path: "/", to: MainPage }
page MainPage {
component: import Main from "@ext/MainPage.js"
}
query dashboard {
fn: import { refreshDashboardData } from "@ext/dashboard.js"
}
entity Dummy {=psl
id Int @id @default(autoincrement())
psl=}