An AI-enhanced writing interface that supports students throughout the writing process without taking away their agency.
- Text Editor (Left Side): A standard word processor with typical formatting tools, markdown support, and image insertion
- AI Chat Assistant (Right Side): Interactive chat window for brainstorming ideas, getting writing suggestions, and receiving feedback
- Frontend: React with Vite
- Text Editor: Lexical (Meta's extensible text editor framework)
- Styling: CSS
- Backend: FastAPI (Python)
├── frontend/ # React frontend application
│ ├── public/ # Static assets
│ │ ├── components/ # React components
│ │ │ ├── Editor/ # Text editor components
│ │ │ ├── Chat/ # Chat interface components
│ │ │ └── Layout.jsx
│ │ ├── styles/ # CSS files
│ │ ├── App.jsx # Main app component
│ │ └── main.jsx # Entry point
│ └── package.json # Frontend dependencies
│
├── backend/ # FastAPI backend
│ ├── app/ # Application code
│ │ ├── main.py # FastAPI app
│ │ └── routers/ # API routes
│ └── requirements.txt
│
└── README.md
-
Navigate to the backend directory:
cd backend -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the backend server:
uvicorn app.main:app --reload
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Run the development server:
npm run dev
The application will be available at http://localhost:5173
- This is a starting version with placeholder AI functionality
- The text editor uses Lexical for rich text editing capabilities
- The chat interface is ready for AI integration but currently returns placeholder responses