2023-06-15 23:19:01 +03:00
app waspAi {
wasp : {
2023-06-27 10:28:37 +03:00
version : "^0.11.0"
2023-06-15 23:19:01 +03:00
} ,
2023-06-30 14:44:59 +03:00
title : "GPT Web App Generator ✨" ,
2023-06-30 15:14:34 +03:00
head : [
"<meta property=\"og:title\" content=\"GPT Web App Generator ✨\">" ,
"<meta property=\"og:site_name\" content=\"GPT Web App Generator ✨\">" ,
"<meta property=\"og:description\" content=\"Generate your full-stack React, Node.js and Prisma web app using the magic of GPT and Wasp Lang full-stack framework.\">" ,
"<meta property=\"og:type\" content=\"website\">" ,
"<meta property=\"og:image\" content=\"/cover.jpeg\">"
] ,
2023-06-20 13:03:01 +03:00
dependencies : [
( "prismjs" , "^1.29.0" ) ,
2023-06-20 14:54:12 +03:00
( "react-accessible-treeview" , "2.6.1" ) ,
2023-06-20 15:38:55 +03:00
( "react-icons" , "4.9.0" ) ,
2023-06-28 16:21:50 +03:00
( "@zip.js/zip.js" , "2.7.16" ) ,
2023-06-28 18:56:18 +03:00
( "async-mutex" , "0.4.0" ) ,
2023-06-29 23:00:05 +03:00
( "@headlessui/react" , "1.7.15" ) ,
2023-06-30 14:44:59 +03:00
( "@heroicons/react" , "2.0.18" ) ,
( "react-parallax-tilt" , "1.7.151" )
2023-06-20 13:03:01 +03:00
] ,
2023-06-19 18:28:36 +03:00
client : {
rootComponent : import { RootComponent } from "@client/RootComponent.jsx" ,
2023-06-28 12:38:48 +03:00
} ,
db : {
system : PostgreSQL
2023-06-19 18:28:36 +03:00
}
2023-06-15 23:19:01 +03:00
}
route RootRoute { path : "/" , to : MainPage }
page MainPage {
2023-06-19 18:28:36 +03:00
component : import Main from "@client/pages/MainPage.jsx"
2023-06-16 16:43:16 +03:00
}
2023-06-21 13:37:02 +03:00
route ResultRoute { path : "/result/:appId" , to : ResultPage }
page ResultPage {
component : import { ResultPage } from "@client/pages/ResultPage.jsx"
}
2023-06-16 16:43:16 +03:00
action startGeneratingNewApp {
2023-06-28 12:38:48 +03:00
fn : import { startGeneratingNewApp } from "@server/operations.js" ,
entities : [
Project ,
File ,
Log ,
]
2023-06-16 16:43:16 +03:00
}
query getAppGenerationResult {
2023-06-28 12:38:48 +03:00
fn : import { getAppGenerationResult } from "@server/operations.js" ,
entities : [
Project
]
}
entity Project { = psl
id String @ id @ default ( uuid ( ) )
name String
description String
createdAt DateTime @ default ( now ( ) )
2023-06-29 17:07:21 +03:00
status String @ default ( "in-progress" )
2023-06-28 12:38:48 +03:00
files File [ ]
logs Log [ ]
psl = }
entity File { = psl
id String @ id @ default ( uuid ( ) )
name String
content String
createdAt DateTime @ default ( now ( ) )
projectId String
project Project @ relation ( fields : [ projectId ] , references : [ id ] )
@ @ index ( [ name , projectId ] )
psl = }
entity Log { = psl
id String @ id @ default ( uuid ( ) )
content String
createdAt DateTime @ default ( now ( ) )
projectId String
project Project @ relation ( fields : [ projectId ] , references : [ id ] )
psl = }