Skip to content

This project is a web application that allows the user to paste multiple text files, get relevant quiz questions on them, and receive immediate feedback on their understanding.

Notifications You must be signed in to change notification settings

polinavishnev/Website-prototype-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Senior Thesis README.md - Discearn Web App

Introduction

This repository is part of the ongoing development of the Discearn Web App, a project dedicated to improving the online learning experience. The application is designed to provide effective methods for reviewing and synthesizing information from diverse sources. Following an Agile development approach, the project has completed three iterations (25+ user interviews).

Setup

API Keys

To get started, you will need to set up an environment and an API key in Pinecone and generate an OpenAI API key. Please add those to the .env file. The OpenAI API key will be also used for the REACT_APP_API_KEY.

Running the Project

To run the project locally, clone the repository. Then, open two terminals.

In the first terminal, navigate to the client folder and run npm install to install the dependencies. Then, run npm run dev to start the React app.

In the second terminal, navigate to the server folder and run npm install to install the dependencies. Then, run npm start to start the Node server.

The web app should now be running on localhost:3000.

Project Structure

Most notable files and folders:

client: React frontend to display the web app to the user

  • src: Contains the source code for the React application
    • components: Contains the React components used to build the web app
      • AddModifyTopicSlide.jsx: Component to modify topics
      • Card.jsx: Component to display the question and answer
      • Chat.jsx: Component to display the discussion with feedback
      • CopyPasteTextSlide.jsx: Component to upload copy-pasted text into Pinecone
      • Navbar.jsx: Component to show the progress of the user.
      • QuestionNavbar.jsx: Component to show the progress of the user in the questions.
      • QuizPage.jsx: The component to hold all the quiz and question information.
      • WelcomeSlide.jsx: Component to give an introduction to the user.
    • App.js: Main component to render the web app

server: Node backend to run the server allowing connection to Pinecone vector database

  • server.js : Runs the server
  • cleanup.js : Wipes the Pinecone database

Link to Loom Demo

About

This project is a web application that allows the user to paste multiple text files, get relevant quiz questions on them, and receive immediate feedback on their understanding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published