PatrickMurphyDev / SnugStoryAI

1 stars 0 forks source link

SnugStoryAI

Concept Art Not Game Graphics concept art

SnugStoryAI is a comprehensive project that combines a chat application and an island simulation server built with the MERN stack (MongoDB, Express, React, Node.js). This project showcases the integration of various technologies and AI-generated content to create an interactive and dynamic application.

Table of Contents

Screenshots

Main Menu

Example CutScene

In Game No UI

Features

About Design Concepts

Character Development

World Details

Relationship Stages

Old Screenshots

Map

Map zoom

Installation Guide

Requirements

First Method: Manual Setup

  1. Clone the repository:

    git clone https://github.com/PatrickMurphyDev/SnugStoryAI.git
    cd SnugStoryAI
  2. Rename the environment files:

    cd public
    mv .env.example .env
    cd ../server
    mv .env.example .env
    cd ..
  3. Install dependencies:

    cd server
    yarn
    cd ../public
    yarn
  4. Start the development servers:

    • Frontend:

      cd public
      yarn start
    • Backend (in a separate terminal):

      cd server
      yarn start

    Open localhost:3000 in your browser.

Second Method: Docker Setup

  1. Ensure Docker and Docker Compose are installed.
  2. Build and start the containers:
    docker compose build --no-cache
    docker compose up
  3. Open localhost:3000 in your browser.

Project Structure

SnugStoryAI/
├── Documentation/
│ ├── DesignDocument/
│ └── GPT/
│ └── GPTLogs/
├── IslandCommunityDataServer/
│ ├── APIFiles/
│ ├── Model/
│ ├── ModelDefinitions/
│ ├── build_scripts/
│ ├── data_collections/
│ ├── docs/
│ └── public/
├── public/
│ ├── src/
│ ├── public/
│ ├── Dockerfile
│ └── README.md
├── server/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── sockets/
│ ├── Dockerfile
│ └── index.js
└── README.md

Key Directories and Files

API Documentation

API documentation for various endpoints can be found in the IslandCommunityDataServer/docs directory. For example, the /areas endpoint documentation is available in areas.html.

Usage

  1. Start Application: Access via the main page at localhost:3000. Users can register, login, and start chatting.
  2. Chat Application: Access via the main page at localhost:3000. Users can register, login, and start chatting.
  3. Island Simulation: Navigate to the map view (/map) to interact with the island simulation. You can view and manage various entities like buildings and characters.

Contributing

We welcome contributions! Please fork the repository and submit pull requests for any enhancements or bug fixes.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add your feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

This project is licensed under the MIT License