mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-29 20:12:28 +03:00
22 lines
426 B
JavaScript
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]
|
|
}
|