Skip to content

Shan533/character-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Character Generator

A web application for generating and managing character images using AI.

Features

  • Create and manage character profiles
  • Generate character images using AI
  • Save and organize generated images
  • Mark favorite images
  • Refine generated images with new prompts

Tech Stack

  • Frontend: React, TypeScript, Tailwind CSS
  • Backend: Node.js, Express, TypeScript
  • Database: MongoDB
  • AI Integration: OpenAI DALL-E

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • OpenAI API key

Installation

  1. Clone the repository
git clone https://github.com/yourusername/character-generator.git
cd character-generator
  1. Install dependencies
# Install server dependencies
cd server
npm install

# Install client dependencies
cd ../client
npm install
  1. Set up environment variables
# Copy the example environment file
cp .env.example .env

# Edit .env with your configuration
  1. Start the development servers
# Start the server (from server directory)
npm run dev

# Start the client (from client directory)
npm run dev

Environment Variables

  • PORT: Server port (default: 8000)
  • MONGO_URI: MongoDB connection string
  • NODE_ENV: Environment (development/production)
  • OPENAI_API_KEY: OpenAI API key for image generation

About

🎨 AI-powered character generator web app built with React, TypeScript, and Node.js. Features DALL-E integration for image generation, character profile management, and image refinement. Deployed on Render with MongoDB backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors