From 853f529595efb7aff4ae5b3c7cb070be2b273c6a Mon Sep 17 00:00:00 2001 From: Madhu Mohan Reddy <128889553+ymadhumohanreddy@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:29:27 +0530 Subject: [PATCH 1/2] Added Preppal repository as a subdirectory to WebMasterLog --- The-Preppal | 1 + 1 file changed, 1 insertion(+) create mode 160000 The-Preppal diff --git a/The-Preppal b/The-Preppal new file mode 160000 index 000000000..1c5344fb0 --- /dev/null +++ b/The-Preppal @@ -0,0 +1 @@ +Subproject commit 1c5344fb06a944da6019ffd7c3b4cb4748021397 From 479b8d898df049bbe1e1aab8de9cff9344d17690 Mon Sep 17 00:00:00 2001 From: Madhu Mohan Reddy <128889553+ymadhumohanreddy@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:43:26 +0530 Subject: [PATCH 2/2] Add preppal project to the repository --- preppal/.gitignore | 40 + preppal/README.md | 57 + .../(auth)/sign-in/[[...sign-in]]/page.jsx | 17 + .../(auth)/sign-up/[[...sign-up]]/page.jsx | 9 + preppal/app/aboutme/page.jsx | 88 + .../dashboard/_components/AddNewInterview.jsx | 152 + preppal/app/dashboard/_components/Header.jsx | 160 + .../_components/InterviewItemCard.jsx | 30 + .../dashboard/_components/InterviewList.jsx | 42 + .../interview/[interviewId]/feedback/page.jsx | 86 + .../interview/[interviewId]/page.jsx | 108 + .../start/_components/QuestionsSection.jsx | 99 + .../start/_components/RecordAnsSection.jsx | 148 + .../interview/[interviewId]/start/page.jsx | 74 + preppal/app/dashboard/layout.jsx | 16 + preppal/app/dashboard/notes/page.jsx | 167 + preppal/app/dashboard/page.jsx | 20 + .../upgrade/_components/PlanItemCard.jsx | 44 + preppal/app/dashboard/upgrade/page.jsx | 388 ++ preppal/app/fonts/GeistMonoVF.woff | Bin 0 -> 67864 bytes preppal/app/fonts/GeistVF.woff | Bin 0 -> 66268 bytes preppal/app/giveup/page.jsx | 55 + preppal/app/globals.css | 92 + preppal/app/layout.js | 40 + preppal/app/page.js | 336 ++ preppal/components.json | 20 + preppal/components/CelebrationBanner.jsx | 30 + preppal/components/ui/accordion.tsx | 57 + preppal/components/ui/button.jsx | 47 + preppal/components/ui/card.jsx | 50 + preppal/components/ui/collapsible.jsx | 11 + preppal/components/ui/dialog.jsx | 96 + preppal/components/ui/dropdown-menu.jsx | 157 + preppal/components/ui/input.jsx | 19 + preppal/components/ui/sheet.jsx | 109 + preppal/components/ui/sonner.jsx | 29 + preppal/components/ui/textarea.jsx | 18 + preppal/drizzle.config.js | 8 + preppal/jsconfig.json | 8 + preppal/lib/utils.js | 6 + preppal/middleware.js | 17 + preppal/next.config.mjs | 4 + preppal/package-lock.json | 5307 +++++++++++++++++ preppal/package.json | 58 + preppal/page.jsx | 8 + preppal/postcss.config.mjs | 8 + preppal/public/file.svg | 1 + preppal/public/firstpic.png | Bin 0 -> 117964 bytes preppal/public/fulllogo-.png | Bin 0 -> 48407 bytes preppal/public/fulllogo.png | Bin 0 -> 33456 bytes preppal/public/globe.svg | 1 + preppal/public/image.png | Bin 0 -> 43088 bytes preppal/public/logo.png | Bin 0 -> 12913 bytes preppal/public/logo.svg | 1 + preppal/public/logo1.png | Bin 0 -> 24033 bytes preppal/public/next.svg | 1 + preppal/public/pexels-njeromin-16832146.jpg | Bin 0 -> 337532 bytes preppal/public/vid2.mp4 | Bin 0 -> 4567819 bytes preppal/public/webcam.png | Bin 0 -> 22329 bytes preppal/public/window.svg | 1 + preppal/tailwind.config.js | 105 + preppal/tsconfig.json | 35 + preppal/utils/GeminiAIModal.js | 25 + preppal/utils/db.js | 6 + preppal/utils/planData.jsx | 24 + preppal/utils/schema.js | 25 + 66 files changed, 8560 insertions(+) create mode 100644 preppal/.gitignore create mode 100644 preppal/README.md create mode 100644 preppal/app/(auth)/sign-in/[[...sign-in]]/page.jsx create mode 100644 preppal/app/(auth)/sign-up/[[...sign-up]]/page.jsx create mode 100644 preppal/app/aboutme/page.jsx create mode 100644 preppal/app/dashboard/_components/AddNewInterview.jsx create mode 100644 preppal/app/dashboard/_components/Header.jsx create mode 100644 preppal/app/dashboard/_components/InterviewItemCard.jsx create mode 100644 preppal/app/dashboard/_components/InterviewList.jsx create mode 100644 preppal/app/dashboard/interview/[interviewId]/feedback/page.jsx create mode 100644 preppal/app/dashboard/interview/[interviewId]/page.jsx create mode 100644 preppal/app/dashboard/interview/[interviewId]/start/_components/QuestionsSection.jsx create mode 100644 preppal/app/dashboard/interview/[interviewId]/start/_components/RecordAnsSection.jsx create mode 100644 preppal/app/dashboard/interview/[interviewId]/start/page.jsx create mode 100644 preppal/app/dashboard/layout.jsx create mode 100644 preppal/app/dashboard/notes/page.jsx create mode 100644 preppal/app/dashboard/page.jsx create mode 100644 preppal/app/dashboard/upgrade/_components/PlanItemCard.jsx create mode 100644 preppal/app/dashboard/upgrade/page.jsx create mode 100644 preppal/app/fonts/GeistMonoVF.woff create mode 100644 preppal/app/fonts/GeistVF.woff create mode 100644 preppal/app/giveup/page.jsx create mode 100644 preppal/app/globals.css create mode 100644 preppal/app/layout.js create mode 100644 preppal/app/page.js create mode 100644 preppal/components.json create mode 100644 preppal/components/CelebrationBanner.jsx create mode 100644 preppal/components/ui/accordion.tsx create mode 100644 preppal/components/ui/button.jsx create mode 100644 preppal/components/ui/card.jsx create mode 100644 preppal/components/ui/collapsible.jsx create mode 100644 preppal/components/ui/dialog.jsx create mode 100644 preppal/components/ui/dropdown-menu.jsx create mode 100644 preppal/components/ui/input.jsx create mode 100644 preppal/components/ui/sheet.jsx create mode 100644 preppal/components/ui/sonner.jsx create mode 100644 preppal/components/ui/textarea.jsx create mode 100644 preppal/drizzle.config.js create mode 100644 preppal/jsconfig.json create mode 100644 preppal/lib/utils.js create mode 100644 preppal/middleware.js create mode 100644 preppal/next.config.mjs create mode 100644 preppal/package-lock.json create mode 100644 preppal/package.json create mode 100644 preppal/page.jsx create mode 100644 preppal/postcss.config.mjs create mode 100644 preppal/public/file.svg create mode 100644 preppal/public/firstpic.png create mode 100644 preppal/public/fulllogo-.png create mode 100644 preppal/public/fulllogo.png create mode 100644 preppal/public/globe.svg create mode 100644 preppal/public/image.png create mode 100644 preppal/public/logo.png create mode 100644 preppal/public/logo.svg create mode 100644 preppal/public/logo1.png create mode 100644 preppal/public/next.svg create mode 100644 preppal/public/pexels-njeromin-16832146.jpg create mode 100644 preppal/public/vid2.mp4 create mode 100644 preppal/public/webcam.png create mode 100644 preppal/public/window.svg create mode 100644 preppal/tailwind.config.js create mode 100644 preppal/tsconfig.json create mode 100644 preppal/utils/GeminiAIModal.js create mode 100644 preppal/utils/db.js create mode 100644 preppal/utils/planData.jsx create mode 100644 preppal/utils/schema.js diff --git a/preppal/.gitignore b/preppal/.gitignore new file mode 100644 index 000000000..26b002aac --- /dev/null +++ b/preppal/.gitignore @@ -0,0 +1,40 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# env files (can opt-in for commiting if needed) +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/preppal/README.md b/preppal/README.md new file mode 100644 index 000000000..4744c63c6 --- /dev/null +++ b/preppal/README.md @@ -0,0 +1,57 @@ +# PrepPal + +**PrepPal** is an AI-driven web application designed to help users prepare for interviews effectively by providing feedback on their responses. It features question prompts, feedback on answers, and suggestions for improvement, making it a comprehensive tool for interview preparation. + +## Table of Contents + +- [Features](#features) +- [Technologies Used](#technologies-used) +- [Getting Started](#getting-started) +- [Usage](#usage) +- [Project Structure](#project-structure) +--- + +### Features + +- **Question Prompts:** Generate interview questions based on topics or difficulty level. +- **Real-time Feedback:** Get instant feedback on your responses, including suggestions for improvement. +- **Collapsible Feedback View:** User-friendly interface with collapsible sections for feedback per question. +- **Session Storage:** Each interview session is stored, allowing users to review past feedback and track improvement. + +### Technologies Used + +- **Frontend:** React, Next.js, Tailwind CSS +- **Backend:** Node.js, Drizzle ORM, PostgreSql +- **Other:** Lucide React Icons for UI icons, Expo for mobile compatibility (if applicable) + +--- + +### Getting Started + +#### Prerequisites + +- Node.js (version 16 or 18 is recommended) +- npm or yarn (package manager) + + +### Usage + +1. *Create an Interview Session:** Start a new interview by selecting a topic or difficulty. +2. **Answer Questions:** Respond to questions, and receive real-time feedback. +3. **Review Feedback:** Access detailed feedback on each answer, including suggestions for improvement. +4. **Start a New Session:** Return to the dashboard and start another session. + +--- + +### Project Structure + +```bash +. +├── components # Reusable UI components (buttons, collapsibles) +├── pages # Next.js pages (dashboard, feedback, etc.) +├── utils # Utility functions (db connection, schema, etc.) +├── public # Static assets +├── styles # Global styles, Tailwind CSS configuration +├── .env.local # Environment variables +└── README.md # Project documentation +``` diff --git a/preppal/app/(auth)/sign-in/[[...sign-in]]/page.jsx b/preppal/app/(auth)/sign-in/[[...sign-in]]/page.jsx new file mode 100644 index 000000000..750375ceb --- /dev/null +++ b/preppal/app/(auth)/sign-in/[[...sign-in]]/page.jsx @@ -0,0 +1,17 @@ +import { SignIn } from '@clerk/nextjs'; + +export default function Page() { + return ( +
+ "All I can say is, best of luck with your placements, and have an amazing day ahead! +
+ + ~Y.M.M.R~ + + + {/* Icons just below the name */} + ++ Loading {progress}% +
+Take an interview to see it listed here!
+ )} +Note: Wait for the "Answer recorded successfully" toast as the model may be slow.
+-Use the 'Record Answer' button to respond to each question.
+-Speak clearly and at a steady pace to ensure accuracy.
+-Ensure you record an answer for every question.
+-After the interview, you'll receive feedback with correct answers to improve performance.
+ + + + +
+ + Mastering Data Structures and Algorithms (DSA) is crucial for solving complex problems efficiently. This course will guide you through key concepts, techniques, and practical problem-solving skills that are highly valued in technical interviews. +
+
+ + This Full-stack Web Development course offers a deep dive into both front-end and back-end technologies. It covers essential tools and frameworks, equipping you with the skills to build dynamic, responsive web applications. Start learning and master web development! +
+
+ + Effective communication is a vital skill in both personal and professional settings. Additionally, you'll learn how to excel in interviews by mastering the art of articulation and presenting yourself effectively. These videos will help you make a lasting impression. +
+ + ++ + {plan.cost}$ + + /lifetime +
+What's included:
+ +What's included:
+ +What's included:
+ +F+h1{YrQx-{HFin8WzZefO{l
z8cNaM;e7wxPv4B1qdM6*FoUE$-f@ij7-F@R
z<>#H5`3B+f=oWr9JZTL7Z{APZfW5v-+aMO7e%ivNM-W#S?|Fvcyr?2@iI$Su+QJ(8
zq)JjtA!jdwfSsSQtWg8*n1W0cSx?;@IDH_LVuf6GBSq35qz-=rbdpafaqtpmaJkD6
z)FU4N`0$>ky=urSXvZ>Z5+CCcp%Qe6LH@W8PboCmKYhoNq&VNN*NI8s81-U1K1&Kf
1f*wx}hVjrJs18=Pv$yWBLbvBXw>nybvCzqLC
zIvrQL3rJLYh8-HK9rX@x*;aZ$M_Xqe$PWEobiHM
zan!Ew`Cb1ABg@_`z-Ti_x(?)N#Fhiceb
tp=V}l-z?vC)@kC-s+%JI1P#~bf$KDO`$vf}7^LX#oSNGO%
zv6_DM)wE`5!s1Ofg{yIVE#ka560*R``{G46$wkppZujx-)-gzk