wasp/examples/hackathon-submissions/main.wasp
2024-07-15 16:25:55 +02:00

22 lines
426 B
JavaScript

app hackathonBetaSubmissions {
wasp: {
version: "^0.14.0"
},
title: "Hackathon Submissions"
}
route RootRoute { path: "/", to: MainPage }
page MainPage {
component: import Main from "@src/MainPage.tsx"
}
action submitProject {
fn: import { submitProject } from "@src/projects.js",
entities: [Submission]
}
query getProjects {
fn: import { getProjects } from "@src/projects.js",
entities: [Submission]
}