Skip to content

AsadNizami/story-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Story Generator

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.

Preview

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.

Key Technologies

  • 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.

Frontend

The frontend is a JavaScript application built with the React library. It uses Vite for its build tooling.

Key Technologies

  • 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.

Demo

image

About

A web application that generates stories based on the user's theme

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published