pave-web is a project that relies on essential dependencies such as radix-ui/react-dialog, supabase/supabase-js, axios, daisyui, formik, framer-motion, langchain, next, next-qrcode, pdf-parse, react, react-dom, react-hook-form, react-icons, react-query, socket.io-client, sonner, yup, tailwindcss/typography, types/node, types/react, types/react-dom, autoprefixer, eslint, eslint-config-next, postcss, prettier, prettier-plugin-tailwindcss, tailwindcss, and typescript.
├── .env
├── .env.example
├── .eslintrc.json
├── .gitignore
├── LICENSE
├── README.md
├── next.config.js
├── package.json
├── postcss.config.js
├── prettier.config.js
├── public
│ ├── assets
│ │ └── svgs
│ │ ├── Education.svg
│ │ ├── Pave_Logo.svg
│ │ ├── arrow_change.svg
│ │ ├── building.svg
│ │ ├── bulb.svg
│ │ ├── contact.svg
│ │ ├── form.svg
│ │ ├── phone_features.svg
│ │ └── wizard.svg
│ ├── next.svg
│ └── vercel.svg
├── src
│ ├── app
│ │ ├── dashboard
│ │ │ ├── home
│ │ │ │ └── page.tsx
│ │ │ ├── layout.tsx
│ │ │ ├── page.tsx
│ │ │ └── quiz
│ │ │ ├── form
│ │ │ │ └── page.tsx
│ │ │ ├── layout.tsx
│ │ │ ├── page.tsx
│ │ │ └── wizard
│ │ │ └── page.tsx
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── components
│ │ ├── AttendanceRecord.tsx
│ │ ├── Breadcrumbs.tsx
│ │ ├── ContactUs.tsx
│ │ ├── CurrentClassSessions.tsx
│ │ ├── CurrentQuizzes.tsx
│ │ ├── DisplayQuiz.tsx
│ │ ├── Dot.tsx
│ │ ├── Features.tsx
│ │ ├── Mission.tsx
│ │ ├── Navbar.tsx
│ │ ├── PublishQuizModal.tsx
│ │ ├── QRCodeModal.tsx
│ │ ├── QuizQRCodeModal.tsx
│ │ ├── RadixModal.tsx
│ │ ├── Sidebar.tsx
│ │ ├── StudentList.tsx
│ │ └── Welcome.tsx
│ ├── hooks
│ │ └── useSocket.ts
│ └── utils
│ ├── apis
│ │ ├── index.ts
│ │ ├── quiz.ts
│ │ ├── sessions.ts
│ │ ├── socket.ts
│ │ └── supabase.ts
│ ├── helpers
│ │ └── index.ts
│ └── interfaces
│ ├── index.ts
│ └── socket.ts
├── tailwind.config.ts
├── tsconfig.json
└── yarn.lock
- src: Core source directory containing the main application code.
- src/app: Houses the main application components and logic.
- src/utils: Contains utility functions and helper modules used throughout the project.
- src/components: Collection of reusable UI components.
- src/hooks: Custom React hooks for managing state and side effects.
- src/utils/apis: Handles API communication and data fetching.
- src/utils/helpers: Provides helper functions for common tasks.
- src/utils/interfaces: Stores TypeScript interfaces used for type checking.
- public: Directory for static assets and entry point HTML file.
- public/assets: Holds static assets such as images and fonts.
- supabase/supabase-js: Provides a JavaScript client library for Supabase, an open-source Firebase alternative.
- axios: A popular HTTP client library for making API requests.
- formik: A library for building forms in React, providing form validation, error handling, and more.
- react-query: A data-fetching library that simplifies and optimizes data fetching and caching in React applications.
- next: A framework for building server-rendered React applications, providing features like server-side rendering, static site generation, and more.
- react: A JavaScript library for building user interfaces.
- react-dom: Provides DOM-specific methods for React, allowing rendering React components in the browser.
- tailwindcss: A utility-first CSS framework for building responsive and customizable user interfaces.
- Go to the Supabase website.
- Sign up for an account or log in if you already have one.
- Create a new project or select an existing project.
- In the project dashboard, navigate to the "Settings" tab.
- Copy the URL value provided under "API URL" and use it as the value for NEXT_PUBLIC_SUPABASE_URL.
- Go to the Supabase website.
- Sign up for an account or log in if you already have one.
- Create a new project or select an existing project.
- In the project dashboard, navigate to the "Settings" tab.
- Under "API Keys", copy the value provided for "Anonymous Key" and use it as the value for NEXT_PUBLIC_SUPABASE_ANON_KEY.
1.Clone the pave-web repository:
git clone https://github.com/iam-hbk/pave-web
2.Install the dependencies with one of the package managers listed below:
pnpm install
bun install
npm install
yarn install
3.Start the development mode:
pnpm dev
bun dev
npm run dev
yarn dev
This project is licensed under the GNU General Public License v3.0 - see the GNU General Public License v3.0 file for details.