This project is a web application that generates stories based on the user's theme. It consists of a React frontend and a FastAPI backend.
The backend is a Python application built with the FastAPI framework. It uses SQLAlchemy for database interaction and LangChain with Gemini API to generate stories and Pollination to generate images.
- FastAPI: A modern, fast (high-performance) web framework for building APIs with Python 3.7+ based on standard Python type hints.
- SQLAlchemy: The Python SQL Toolkit and Object Relational Mapper.
- LangChain: A framework for developing applications powered by language models.
- Google Gemini: Provides the large language models for story generation.
- Uvicorn: An ASGI server for running the FastAPI application.
The frontend is a JavaScript application built with the React library. It uses Vite for its build tooling.
- React: A JavaScript library for building user interfaces.
- Vite: A build tool that aims to provide a faster and leaner development experience for modern web projects.
- Axios: A promise-based HTTP client for the browser and Node.js.
- React Router: A standard library for routing in React.