Skip to content

StoryTale is a full-stack web app where users create story tales with AI-generated images. Built with ReactJS & Bootstrap for the frontend and Java Spring Boot, JWT, Spring Data JPA, PostgreSQL for the backend. Integrated OpenAI API for dynamic image generation.

Notifications You must be signed in to change notification settings

darshangouda/StoryTale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoryTale

StoryTale is a Spring Boot application designed to help storywriters create books using AI-generated images. Writers can pair images with storylines for each book, making the process creative and engaging.


Project Description

StoryTale leverages AI technology to generate images that writers can use to complement their storylines. Writers can create books with multiple chapters, each paired with a unique image to enhance the storytelling experience.


Features

  • AI-generated image creation.
  • Secure authentication and authorization with JWT Security.

Technologies Used

Frontend:

  • ReactJS
  • Bootstrap

Backend:

  • Java
  • Spring Boot
    • Spring Web
    • RESTful API
    • Spring Security
    • Spring Data JPA
    • Spring AI (OpenAI)
  • PostgreSQL
  • JWT Token

Setup Instructions

Frontend:

  1. Navigate to the frontend directory.
  2. Install dependencies:
    npm install
  3. Run the development server:
    npm run dev
  4. The frontend will run on http://localhost:3000.

Backend:

  1. Ensure you have Java and Maven installed.
  2. Clone the repository:
    git clone https://github.com/darshangouda/storytale.git
  3. Navigate to the backend directory.
  4. Add your OpenAI API key in the .env file:
    OPENAI_KEY="your_openai_api_key"
  5. Build and run the Spring Boot application.
    mvn spring-boot:run
  6. The backend will run on http://localhost:8080.

Usage

  • The StoryTale application consists of a ReactJS frontend and a Spring Boot backend.
  • Users can log in securely using JWT authentication.
  • AI-generated images can be created and paired with storylines for each chapter of a book.

Environment Variables

The following environment variable must be set in the .env file: (create StoryTale-BackEnd/.env file)

OPENAI_KEY="your_openai_api_key"

Contributors/Contact

Developed by Darshangouda.


License

This project is not licensed.

About

StoryTale is a full-stack web app where users create story tales with AI-generated images. Built with ReactJS & Bootstrap for the frontend and Java Spring Boot, JWT, Spring Data JPA, PostgreSQL for the backend. Integrated OpenAI API for dynamic image generation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published