mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-26 02:23:21 +03:00
22 lines
426 B
JavaScript
22 lines
426 B
JavaScript
app hackathonBetaSubmissions {
|
|
wasp: {
|
|
version: "^0.15.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]
|
|
}
|