This is a math question answering app, with image support, built with Remix, React, and Google's Gemini Flash.
Screencast_20240608_222358.mp4
Environmental variables
# .env
GEMINI_API_KEY=<YOUR_API_KEY>
Docker
docker run -it -p 3000:3000 -e GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> mathqa
Development
Run the Vite dev server:
Deployment
First, build your app for production:
Then run the app in production mode:
Now you'll need to pick a host to deploy it to.
DIY
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of npm run build
build/serverbuild/client