Skip to content

CodingLady22/ai-italian-tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AI Italian Language Tutor ๐Ÿ‡ฎ๐Ÿ‡น

A full-stack application designed to help users practice Italian through conversation with an AI tutor. The application allows users to practice specific grammatical concepts (e.g., Passato Prossimo) or real-world topics (e.g., Ordering Coffee) based on their skill level.

๐Ÿค– Features (MVP)

  • User Authentication: Secure signup and login with JWT.
  • Customizable Practice: Select your proficiency level (A1-C2), mode (Grammar vs. Topic), and specific focus area.
  • AI Tutor: Powered by Google's Gemini API, providing context-aware responses and gentle corrections.
  • Conversation History: Chat sessions are saved to MongoDB for review.

๐Ÿ› ๏ธ Tech Stack

Backend

  • Framework: Nest.js (TypeScript)
  • Database: MongoDB (via Mongoose)
  • AI Model: Google Gemini 1.5 Flash (via @google/genai SDK)
  • Auth: Passport.js + JWT

Frontend

  • Framework: React + Vite
  • Styling: Tailwind CSS
  • State: React Context API + Axios

โš™๏ธ Backend Setup

  1. Navigate to the server directory:
  cd server
  npm install
  1. Create a .env file in server/ from the .env.example file
  2. Run the server: npm run start:dev

Server runs on http://localhost:3000.

๐Ÿ”Œ API Endpoints

Auth

  • POST /auth/signup - Create account
  • POST /auth/login - Get JWT Access Token

Chat

  • POST /chat/start-session - Initialize a new session
  • POST /chat/send-message - Send message to AI
  • GET /chat/sessions - Get user history

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published