Welcome to the storypath repository. Storypath is an interactive storytelling platform designed to engage users through dynamic and branching narratives. This platform allows users to both read and create stories with multiple pathways, driven by their choices.
This project is a full-stack web application, consisting of a client-side (front-end) and a server-side (back-end). The project is organized into two main directories: client and server, each containing their own package.json file for managing dependencies.
To run this project locally, you need to install the dependencies for both the client and server.
Make sure you have Node.js and npm installed on your system.
-
Clone the repository:
git clone https://github.com/Ekram70/storypath.git cd storypath -
Install dependencies for the client:
cd client npm install -
Install dependencies for the server:
cd ../server npm install -
Return to the root directory:
cd .. -
Running the Project:
Start the client:
npm run client
Start the server:
npm run server
Environment variables are required for both the client and server. For preview purposes, .env files are provided in their respective directories, but it's recommended to securely manage these variables in a production environment.