Skip to content

A web application for building and managing world lore, characters, and story elements through NLP.

Notifications You must be signed in to change notification settings

rawsab/WorldBuilder

 
 

Repository files navigation

WorldBuilder

A web application for building and managing world lore, characters, and story elements with AI-powered assistance.

worldbuilder

Tech Stack

  • Frontend: Next.js 14 with TypeScript and Tailwind CSS
  • Backend: Flask (Python)

Getting Started

Prerequisites

  • Node.js 18+ and npm
  • Python 3.8+
  • pip (Python package manager)

Frontend Setup

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the Flask server:
python app.py

The backend will run on http://127.0.0.1:5000

Project Structure

WorldBuilder/
├── app/                 # Next.js app directory
│   ├── page.tsx        # Home/landing page
│   ├── login/          # Login page
│   ├── signup/         # Signup page
│   └── globals.css     # Global styles
├── backend/            # Flask backend
│   ├── app.py         # Main Flask application
│   └── requirements.txt
├── package.json        # Node.js dependencies
└── tailwind.config.js # Tailwind configuration

Features

  • Home Page: Landing page with feature highlights
  • Authentication: Login and signup pages
  • Clean UI: Modern design matching the WorldBuilder aesthetic

Color Scheme

  • Primary: Purple/Blue (#5B21B6, #4F46E5)
  • Background: White (#FFFFFF)
  • UI Elements: Light Gray (#F5F5F5)
  • Text: Dark Gray (#333333)
  • Secondary Text: Gray (#888888)

Development Notes

  • The backend currently uses an in-memory user store. Replace with a database (e.g., PostgreSQL, MongoDB) for production.
  • JWT tokens are used for authentication.
  • CORS is enabled for development. Configure appropriately for production.

About

A web application for building and managing world lore, characters, and story elements through NLP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.8%
  • Python 15.7%
  • PowerShell 3.5%
  • Shell 1.6%
  • Other 0.4%