A web application that generates personalized stories and quizzes for language learners using OpenAI. The application creates content based on students' interests to make language learning more engaging and effective.
We built it for a hackathon project on 28 December 2024. So, it was built in less than 24 hours :)
- Personalized story generation based on student interests
- Automatic quiz generation for reading comprehension
- Interactive user interface for easy navigation
- AI-powered content creation using OpenAI
- Authentication system
- Backend: Express.js
- Frontend: Next.js
- AI Integration: OpenAI API
- OpenAI API key
- Clone the repository:
git clone https://github.com/muhammedkucukaslan/learnbystory
- Install backend dependencies:
cd backend
npm install
- Install frontend dependencies:
cd frontend
npm install
- Add your OpenAI key and PORT to
.env
:
OPENAI_API_KEY=your_api_key_here
PORT=8000
- Start the backend server:
cd backend
npm run dev
- Start the frontend development server:
cd frontend
npm run dev
The web application will be available at http://localhost:3000
.
The backend server will be running at http://localhost:8000
by default.
- Students log in to the platform
- Select their interests and language level
- The system generates personalized stories
- Students read the story and answer generated questions