<<<<<<< HEAD
Table of Contents
Learniverse is a learning platform specifically for the Media Informatics course. Users can make tutoring requests, use a plotting tool to graphically display mathematical formulas and review the content of individual subjects for optimal exam preparation. The footer of the page contains links to the imprint.
- YouTube videos on the individual chapters of the modules
- Chatbot: Artificial intelligence for answering questions
- Graphtool: Visualization of mathematical functions
- Next.js - Framework for server-side rendering and API routing
- React - JavaScript library for the user interface
- YouTube API - API for the integration of YouTube videos
- Groq - API for the integration of Groq artificial intelligence
To take a look at the project, you can follow this link to a demo video. https://my.hidrive.com/share/iq1xjll2td
- npm
npm install npm@latest -g- Clone the Repo
git clone https://gitlab.cs.hs-rm.de/dross001/learniverse.git- Navigate to Folder "learniverse"
cd learniverse- Install NPM Packages
npm install- Enter Your API in This File:
.env.local
NEXT_PUBLIC_API_KEY = "secret";
NEXT_PUBLIC_YT_API_KEY = "secret";- Start the Project
npm run dev‚
├── __mocks__
├── .next
├── .vscode
├── components
│ ├── BenefitCardBar
│ │ ├── BeneditCard
│ │ │ ├── BeneditCard.Module.css
│ │ │ ├── BeneditCard.tsx
│ │ ├── ...
│ ├── ...
├── context
├── coverage
├── interfaces
├── node_modules
├── pages
│ ├── api
│ │ ├── content.ts
│ ├── moduleDetail
│ ├── _app.tsx
│ ├── _document.tsx
│ ├── 404.module.css
│ ├── 404.tsx
│ ├── graphiverse.module.css
│ ├── graphiverse.tsx
│ ├── index.module.css
│ ├── index.tsx
├── playwright-report
├── public
│ ├── fonts
│ ├── ...
├── styles
│ ├── globals.css
├── tests
│ ├── playwright_e2e
│ ├── header.spec.ts
│ └── ...
├── unitTests
├── Chat.test.tsx
├── .env.local
└── ...
# Before all (in different terminal)
npm run dev
# Execute all tests
npx playwright test
# Execute a special test (here: “Click First Module Card”)
npx playwright test -g "Click First Module Card"
# Record your own test (at the end the url where it should start)
npx playwright codegen localhost:3000
# Execute all tests in indexTest.spec.ts
npx playwright test indexTest.spec.ts
# Open Ui to execute all tests (optional: write specific file after “test”)
npx playwright test --ui
# Execute all tests in test.spec.ts and watch (write specific file to “test” if necessary)
npx playwright test --headed
# Shows report of the last executed test (overview of what failed and why)
npx playwright show-report# Alle Tests ausführen
npm testNode: In file package-lock.json a script is defined -> with "npm test" the command "npm run jest tests/jest" is executed (so playwright tests don't get tested at the same time)
Valentin Diehl - Valentin.Diehl@student.hs-rm.de
Julia Trumpp - Julia.Trumpp@student.hs-rm.de
David Rossel - David.rossel@student.hs-rm.de