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.
Clone the repository:
git clone https://github.com/PatrickMurphyDev/SnugStoryAI.git
cd SnugStoryAI
Rename the environment files:
cd public
mv .env.example .env
cd ../server
mv .env.example .env
cd ..
Install dependencies:
cd server
yarn
cd ../public
yarn
Start the development servers:
Frontend:
cd public
yarn start
Backend (in a separate terminal):
cd server
yarn start
Open localhost:3000
in your browser.
docker compose build --no-cache
docker compose up
localhost:3000
in your browser.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
Documentation
: Contains logs and documentation related to the GPT integration.IslandCommunityDataServer
: Backend server for the island simulation, including API files, models, and data collections.public
: Frontend React application.server
: Express server setup with controllers, models, and routes for handling backend operations.API documentation for various endpoints can be found in the IslandCommunityDataServer/docs
directory. For example, the /areas
endpoint documentation is available in areas.html
.
localhost:3000
. Users can register, login, and start chatting.localhost:3000
. Users can register, login, and start chatting./map
) to interact with the island simulation. You can view and manage various entities like buildings and characters.We welcome contributions! Please fork the repository and submit pull requests for any enhancements or bug fixes.
git checkout -b feature/your-feature
).git commit -m 'Add your feature'
).git push origin feature/your-feature
).This project is licensed under the MIT License