Skip to content

johnryanmal/stories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories

Frontend / Backend

Stories is an app that lets users create interactive stories, represented as a directed graph. Made using react-digraph.

View it in action here!

Installation

  1. Clone the repository
git clone https://github.com/johnryanmal/stories/
  1. Enter the repository (Frontend)
cd stories/
  1. [Frontend] Install dependencies
npm install
  1. Edit the api url in src/config.js to work with the local backend
export default {
	api: "http://localhost:3000"
}

Usage

  1. Start the servers

[Backend] Start rails

rails server

[Frontend] Start vite

npm run dev
  1. Go to http://localhost:5173 (or wherever Vite is hosting if you have a different config)