GithubHelp home page GithubHelp logo

danielwte / educdia-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.67 MB

Educdia is a web application to help students to learn and improve their knowledge with a course driven question and answer system.

Home Page: https://educdia.com

License: GNU Affero General Public License v3.0

Dockerfile 0.71% TypeScript 98.93% CSS 0.11% JavaScript 0.24%
course courses-app kinde-auth openai-api prisma

educdia-app's Introduction

Next JS Kubernetes Prisma ChatGPT

Educdia

Educdia is an online platform designed to assist students in enhancing their learning by utilizing a question and answer system based on courses.


What is the purpose of Educdia?

Educdia is an online platform designed to assist students in enhancing their knowledge through a question and answer system based on courses. The platform utilizes Next.js, Prisma, Kinde Auth, and OpenAI's GPT-4o API.

Users have the option to sign up and create courses with questions.

Upon commencing a course, users will receive questions to answer. Subsequently, they will receive responses from OpenAI's GPT-4o API in JSON format after answering each question.

{ "correct": false, "answer": "Uhm actually ๐Ÿค“๐Ÿ‘†" }
  • correct is a boolean that indicates if the answer is correct or not.
  • answer is the correct answer to the question, if the user's answer is incorrect.

When a user provides the correct answer, the next question will be displayed. In case of an incorrect answer, the user will receive the correct one and can then proceed to the next question.

The progress of the course will be stored in the database, allowing users to pause and resume their learning at any time through the dashboard.

Upon submitting the first answer to a question, a session will be initiated for the user. Users have the option to reset the course at any point through the dashboard.

Developing locally

Upon cloning the repository, execute npm install at the project's root to install all necessary dependencies. Subsequently, launch the development server by running npm run dev.

Ensure to establish a MySQL database and generate a .env file in the project's root with environment variables from the .env.example file.

To create the SQL database using the Prisma schema, utilize npx prisma migrate dev --name init followed by npx prisma db push.

educdia-app's People

Contributors

danielwte avatar

Watchers

 avatar

educdia-app's Issues

Add new buttons to course handler

  • Skip Question (load new question)
  • I don't know the answer (get the answer)
  • I have a question (with text field so a user can ask for more information like in real life exam)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.