Lute (Learning Using Texts) is a web application for learning languages by reading texts. The core application is written in Python/Flask. This repo adds React frontend which works with backend's API endpoints.
Demo: https://lute-v3-frontend.onrender.com (might need up to a minute for the server to spin up)
Installation will be in two parts. First we install the backend with API endpoints and then this frontend app.
Use the api branch from the below repo. See installation instructions here.
https://github.com/oashrafov/lute-v3/tree/api
Install backend and launch it.
Clone this repo.
git clone https://github.com/oashrafov/lute-v3-frontend.gitcd into lute-v3-frontend and install packages.
npm installCreate an .env file in the root folder and fill in the backend url.
VITE_BACKEND_URL=Note: This is the url that core Lute runs at. Default is http://localhost:5001
Build the app.
npm run buildLaunch the server.
npm run previewYour app should be live at http://localhost:4173
