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!
- Clone the repository
git clone https://github.com/johnryanmal/stories/
- Enter the repository (Frontend)
cd stories/
- [Frontend] Install dependencies
npm install
- Edit the api url in
src/config.js
to work with the local backend
export default {
api: "http://localhost:3000"
}
- Start the servers
[Backend] Start rails
rails server
[Frontend] Start vite
npm run dev
- Go to http://localhost:5173 (or wherever Vite is hosting if you have a different config)