From c08c0831b123cafc1a195175661c0c26187b1232 Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Thu, 26 Mar 2026 00:17:59 -0500 Subject: [PATCH] fixed run --- .replit | 42 - bun.lock | 15 + client/index.html | 15 - client/public/favicon.png | Bin 1145 -> 0 bytes client/src/App.tsx | 30 - client/src/components/ui/accordion.tsx | 56 - client/src/components/ui/alert-dialog.tsx | 139 - client/src/components/ui/alert.tsx | 59 - client/src/components/ui/aspect-ratio.tsx | 5 - client/src/components/ui/avatar.tsx | 51 - client/src/components/ui/badge.tsx | 38 - client/src/components/ui/breadcrumb.tsx | 115 - client/src/components/ui/button.tsx | 62 - client/src/components/ui/calendar.tsx | 68 - client/src/components/ui/card.tsx | 85 - client/src/components/ui/carousel.tsx | 260 - client/src/components/ui/chart.tsx | 365 - client/src/components/ui/checkbox.tsx | 28 - client/src/components/ui/collapsible.tsx | 11 - client/src/components/ui/command.tsx | 151 - client/src/components/ui/context-menu.tsx | 198 - client/src/components/ui/dialog.tsx | 122 - client/src/components/ui/drawer.tsx | 118 - client/src/components/ui/dropdown-menu.tsx | 198 - client/src/components/ui/form.tsx | 178 - client/src/components/ui/hover-card.tsx | 29 - client/src/components/ui/input-otp.tsx | 69 - client/src/components/ui/input.tsx | 23 - client/src/components/ui/label.tsx | 24 - client/src/components/ui/menubar.tsx | 256 - client/src/components/ui/navigation-menu.tsx | 128 - client/src/components/ui/pagination.tsx | 117 - client/src/components/ui/popover.tsx | 29 - client/src/components/ui/progress.tsx | 28 - client/src/components/ui/radio-group.tsx | 42 - client/src/components/ui/resizable.tsx | 45 - client/src/components/ui/scroll-area.tsx | 46 - client/src/components/ui/select.tsx | 160 - client/src/components/ui/separator.tsx | 29 - client/src/components/ui/sheet.tsx | 140 - client/src/components/ui/sidebar.tsx | 727 -- client/src/components/ui/skeleton.tsx | 15 - client/src/components/ui/slider.tsx | 26 - client/src/components/ui/switch.tsx | 27 - client/src/components/ui/table.tsx | 117 - client/src/components/ui/tabs.tsx | 53 - client/src/components/ui/textarea.tsx | 22 - client/src/components/ui/toast.tsx | 127 - client/src/components/ui/toaster.tsx | 33 - client/src/components/ui/toggle-group.tsx | 61 - client/src/components/ui/toggle.tsx | 43 - client/src/components/ui/tooltip.tsx | 30 - client/src/hooks/use-mobile.tsx | 19 - client/src/hooks/use-toast.ts | 191 - client/src/index.css | 329 - client/src/lib/queryClient.ts | 57 - client/src/lib/utils.ts | 6 - client/src/main.tsx | 5 - client/src/pages/not-found.tsx | 21 - components.json | 20 - drizzle.config.ts | 14 - package-lock.json | 8687 ------------------ package.json | 108 +- postcss.config.js | 6 - script/build.ts | 67 - server/index.ts | 103 - server/routes.ts | 9 - server/static.ts | 19 - server/storage.ts | 38 - server/vite.ts | 58 - shared/schema.ts | 18 - src/server.ts | 2 +- tailwind.config.ts | 107 - tsconfig.json | 23 - vite.config.ts | 40 - 75 files changed, 20 insertions(+), 14782 deletions(-) delete mode 100644 .replit create mode 100644 bun.lock delete mode 100644 client/index.html delete mode 100644 client/public/favicon.png delete mode 100644 client/src/App.tsx delete mode 100644 client/src/components/ui/accordion.tsx delete mode 100644 client/src/components/ui/alert-dialog.tsx delete mode 100644 client/src/components/ui/alert.tsx delete mode 100644 client/src/components/ui/aspect-ratio.tsx delete mode 100644 client/src/components/ui/avatar.tsx delete mode 100644 client/src/components/ui/badge.tsx delete mode 100644 client/src/components/ui/breadcrumb.tsx delete mode 100644 client/src/components/ui/button.tsx delete mode 100644 client/src/components/ui/calendar.tsx delete mode 100644 client/src/components/ui/card.tsx delete mode 100644 client/src/components/ui/carousel.tsx delete mode 100644 client/src/components/ui/chart.tsx delete mode 100644 client/src/components/ui/checkbox.tsx delete mode 100644 client/src/components/ui/collapsible.tsx delete mode 100644 client/src/components/ui/command.tsx delete mode 100644 client/src/components/ui/context-menu.tsx delete mode 100644 client/src/components/ui/dialog.tsx delete mode 100644 client/src/components/ui/drawer.tsx delete mode 100644 client/src/components/ui/dropdown-menu.tsx delete mode 100644 client/src/components/ui/form.tsx delete mode 100644 client/src/components/ui/hover-card.tsx delete mode 100644 client/src/components/ui/input-otp.tsx delete mode 100644 client/src/components/ui/input.tsx delete mode 100644 client/src/components/ui/label.tsx delete mode 100644 client/src/components/ui/menubar.tsx delete mode 100644 client/src/components/ui/navigation-menu.tsx delete mode 100644 client/src/components/ui/pagination.tsx delete mode 100644 client/src/components/ui/popover.tsx delete mode 100644 client/src/components/ui/progress.tsx delete mode 100644 client/src/components/ui/radio-group.tsx delete mode 100644 client/src/components/ui/resizable.tsx delete mode 100644 client/src/components/ui/scroll-area.tsx delete mode 100644 client/src/components/ui/select.tsx delete mode 100644 client/src/components/ui/separator.tsx delete mode 100644 client/src/components/ui/sheet.tsx delete mode 100644 client/src/components/ui/sidebar.tsx delete mode 100644 client/src/components/ui/skeleton.tsx delete mode 100644 client/src/components/ui/slider.tsx delete mode 100644 client/src/components/ui/switch.tsx delete mode 100644 client/src/components/ui/table.tsx delete mode 100644 client/src/components/ui/tabs.tsx delete mode 100644 client/src/components/ui/textarea.tsx delete mode 100644 client/src/components/ui/toast.tsx delete mode 100644 client/src/components/ui/toaster.tsx delete mode 100644 client/src/components/ui/toggle-group.tsx delete mode 100644 client/src/components/ui/toggle.tsx delete mode 100644 client/src/components/ui/tooltip.tsx delete mode 100644 client/src/hooks/use-mobile.tsx delete mode 100644 client/src/hooks/use-toast.ts delete mode 100644 client/src/index.css delete mode 100644 client/src/lib/queryClient.ts delete mode 100644 client/src/lib/utils.ts delete mode 100644 client/src/main.tsx delete mode 100644 client/src/pages/not-found.tsx delete mode 100644 components.json delete mode 100644 drizzle.config.ts delete mode 100644 package-lock.json delete mode 100644 postcss.config.js delete mode 100644 script/build.ts delete mode 100644 server/index.ts delete mode 100644 server/routes.ts delete mode 100644 server/static.ts delete mode 100644 server/storage.ts delete mode 100644 server/vite.ts delete mode 100644 shared/schema.ts delete mode 100644 tailwind.config.ts delete mode 100644 tsconfig.json delete mode 100644 vite.config.ts diff --git a/.replit b/.replit deleted file mode 100644 index 19ed886..0000000 --- a/.replit +++ /dev/null @@ -1,42 +0,0 @@ -modules = ["nodejs-20", "web", "postgresql-16"] -run = "npm run dev" -hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"] - -[nix] -channel = "stable-24_05" - -[[ports]] -localPort = 5000 -externalPort = 80 - -[env] -PORT = "5000" - -[deployment] -deploymentTarget = "autoscale" -run = ["node", "./dist/index.cjs"] -build = ["npm", "run", "build"] - -[workflows] -runButton = "Project" - -[[workflows.workflow]] -name = "Project" -mode = "parallel" -author = "agent" - -[[workflows.workflow.tasks]] -task = "workflow.run" -args = "Start application" - -[[workflows.workflow]] -name = "Start application" -author = "agent" - -[[workflows.workflow.tasks]] -task = "shell.exec" -args = "bun run src/server.ts" -waitForPort = 5000 - -[workflows.workflow.metadata] -outputType = "webview" diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000..e4c7506 --- /dev/null +++ b/bun.lock @@ -0,0 +1,15 @@ +{ + "lockfileVersion": 1, + "configVersion": 0, + "workspaces": { + "": { + "name": "rest-express", + "dependencies": { + "hono": "^4.7.7", + }, + }, + }, + "packages": { + "hono": ["hono@4.12.9", "", {}, "sha512-wy3T8Zm2bsEvxKZM5w21VdHDDcwVS1yUFFY6i8UobSsKfFceT7TOwhbhfKsDyx7tYQlmRM5FLpIuYvNFyjctiA=="], + } +} diff --git a/client/index.html b/client/index.html deleted file mode 100644 index 5ac9c7f..0000000 --- a/client/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - -
- - - \ No newline at end of file diff --git a/client/public/favicon.png b/client/public/favicon.png deleted file mode 100644 index 625caff34364d36bfd33beef352fb38c93cba110..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1145 zcmZuxZB){C7=8Zyl|Nd7)9qB4<~FA_^JNW9kPOQddqEB{PcvJzbcsnb)JF#D35nXsF~vR^|Qod@_k27dgW^87uLsx?Q#n`>kLRgRcQra|KzY~I*kOJ zL_*eKwgJ#MQ$Ekizvn2Delqd_$jIy4$fzw>83q*k8#gC#_mH_@u5ptE32<6YNw-2G z&58~`Ytzf1aq8aob4K~M+IGx3=X3UkVXBNYWB=^=dpg1J++~K+0M(P4AS~|}K?lK?F zr@#o?#7qNUGvC~UDQA%RIi{9xRO}{DCtg-SKoT`2(-~NHsTWtnj!|Ld9LA~Cco$m3 z7RBgn5R5P$Rn#tqrCQ0I9rR;=WEime%&q-iM{9>$s6v8ctj}CdFxQMZ`(m7!MONCO z`htn$QmTAs+hP#Uj(*%op_J(~e`i>?yx8B=r2Y^Nqk~3ld~OM-#S2fP3q6j6ehJEf zOM-2A77Ph?&}04jb_3AE{e+G{x7~8?E6^tzl*7i)Fi~}q;x3MOvS?2nx>-GKY#4EC zty=^CL&ULLtH*J5B;j<126;q%T?RZF6%Ec{$|<;Uod!Fd6AlFd!^PD73KLZw$@`N) zq4;WpKb(@*-e-Y6F0sN$MgpFH6ajR*E5csjx3}4*ygNTV5edjvQyBH^TJx=sKq+Lk zr^FC-ItR-a@tP8?Z{M30nVPPNimg~`V?^NNm!smG$7MQ0&+N>)RTWv^0e56DfbIEL z`Pc?xE1Z~I@~TDBZc)-y6LF)xWM$Sd+<qC+a>HD&LSnFupf$ij2u@-XjlS4fq=6J4@4&`o& z`!=v_Z@HX|R)+6OCUJD9jg{5iICz>Bmlpv~RuhlIW%-Y_-Vk8Ze8~=KqwHVk+oP diff --git a/client/src/App.tsx b/client/src/App.tsx deleted file mode 100644 index b4c5b9e..0000000 --- a/client/src/App.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { Switch, Route } from "wouter"; -import { queryClient } from "./lib/queryClient"; -import { QueryClientProvider } from "@tanstack/react-query"; -import { Toaster } from "@/components/ui/toaster"; -import { TooltipProvider } from "@/components/ui/tooltip"; -import NotFound from "@/pages/not-found"; - -function Router() { - return ( - - {/* Add pages below */} - {/* */} - {/* Fallback to 404 */} - - - ); -} - -function App() { - return ( - - - - - - - ); -} - -export default App; diff --git a/client/src/components/ui/accordion.tsx b/client/src/components/ui/accordion.tsx deleted file mode 100644 index e6a723d..0000000 --- a/client/src/components/ui/accordion.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import * as React from "react" -import * as AccordionPrimitive from "@radix-ui/react-accordion" -import { ChevronDown } from "lucide-react" - -import { cn } from "@/lib/utils" - -const Accordion = AccordionPrimitive.Root - -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AccordionItem.displayName = "AccordionItem" - -const AccordionTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - svg]:rotate-180", - className - )} - {...props} - > - {children} - - - -)) -AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName - -const AccordionContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -
{children}
-
-)) - -AccordionContent.displayName = AccordionPrimitive.Content.displayName - -export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } diff --git a/client/src/components/ui/alert-dialog.tsx b/client/src/components/ui/alert-dialog.tsx deleted file mode 100644 index 8722561..0000000 --- a/client/src/components/ui/alert-dialog.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import * as React from "react" -import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" - -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" - -const AlertDialog = AlertDialogPrimitive.Root - -const AlertDialogTrigger = AlertDialogPrimitive.Trigger - -const AlertDialogPortal = AlertDialogPrimitive.Portal - -const AlertDialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName - -const AlertDialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - -)) -AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName - -const AlertDialogHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogHeader.displayName = "AlertDialogHeader" - -const AlertDialogFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogFooter.displayName = "AlertDialogFooter" - -const AlertDialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName - -const AlertDialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogDescription.displayName = - AlertDialogPrimitive.Description.displayName - -const AlertDialogAction = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName - -const AlertDialogCancel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName - -export { - AlertDialog, - AlertDialogPortal, - AlertDialogOverlay, - AlertDialogTrigger, - AlertDialogContent, - AlertDialogHeader, - AlertDialogFooter, - AlertDialogTitle, - AlertDialogDescription, - AlertDialogAction, - AlertDialogCancel, -} diff --git a/client/src/components/ui/alert.tsx b/client/src/components/ui/alert.tsx deleted file mode 100644 index 41fa7e0..0000000 --- a/client/src/components/ui/alert.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const alertVariants = cva( - "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", - { - variants: { - variant: { - default: "bg-background text-foreground", - destructive: - "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive", - }, - }, - defaultVariants: { - variant: "default", - }, - } -) - -const Alert = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes & VariantProps ->(({ className, variant, ...props }, ref) => ( -
-)) -Alert.displayName = "Alert" - -const AlertTitle = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertTitle.displayName = "AlertTitle" - -const AlertDescription = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertDescription.displayName = "AlertDescription" - -export { Alert, AlertTitle, AlertDescription } diff --git a/client/src/components/ui/aspect-ratio.tsx b/client/src/components/ui/aspect-ratio.tsx deleted file mode 100644 index c4abbf3..0000000 --- a/client/src/components/ui/aspect-ratio.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" - -const AspectRatio = AspectRatioPrimitive.Root - -export { AspectRatio } diff --git a/client/src/components/ui/avatar.tsx b/client/src/components/ui/avatar.tsx deleted file mode 100644 index fc7f964..0000000 --- a/client/src/components/ui/avatar.tsx +++ /dev/null @@ -1,51 +0,0 @@ -"use client" - -import * as React from "react" -import * as AvatarPrimitive from "@radix-ui/react-avatar" - -import { cn } from "@/lib/utils" - -const Avatar = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -Avatar.displayName = AvatarPrimitive.Root.displayName - -const AvatarImage = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AvatarImage.displayName = AvatarPrimitive.Image.displayName - -const AvatarFallback = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName - -export { Avatar, AvatarImage, AvatarFallback } diff --git a/client/src/components/ui/badge.tsx b/client/src/components/ui/badge.tsx deleted file mode 100644 index b59d7ad..0000000 --- a/client/src/components/ui/badge.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const badgeVariants = cva( - // Whitespace-nowrap: Badges should never wrap. - "whitespace-nowrap inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2" + - " hover-elevate " , - { - variants: { - variant: { - default: - "border-transparent bg-primary text-primary-foreground shadow-xs", - secondary: "border-transparent bg-secondary text-secondary-foreground", - destructive: - "border-transparent bg-destructive text-destructive-foreground shadow-xs", - - outline: " border [border-color:var(--badge-outline)] shadow-xs", - }, - }, - defaultVariants: { - variant: "default", - }, - }, -) - -export interface BadgeProps - extends React.HTMLAttributes, - VariantProps {} - -function Badge({ className, variant, ...props }: BadgeProps) { - return ( -
- ); -} - -export { Badge, badgeVariants } diff --git a/client/src/components/ui/breadcrumb.tsx b/client/src/components/ui/breadcrumb.tsx deleted file mode 100644 index 60e6c96..0000000 --- a/client/src/components/ui/breadcrumb.tsx +++ /dev/null @@ -1,115 +0,0 @@ -import * as React from "react" -import { Slot } from "@radix-ui/react-slot" -import { ChevronRight, MoreHorizontal } from "lucide-react" - -import { cn } from "@/lib/utils" - -const Breadcrumb = React.forwardRef< - HTMLElement, - React.ComponentPropsWithoutRef<"nav"> & { - separator?: React.ReactNode - } ->(({ ...props }, ref) =>