Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Relationing Schema Maker

A premium, interactive database schema designer built with Vanilla JavaScript, HTML5, and SVG. Drag-and-drop tables, define fields, map relationships visually, and export your diagrams in seconds.

🌐 Live Demo

Experience the application live: lighthearted-croquembouche-640a40.netlify.app


✨ Features

  • πŸ—‚οΈ Interactive Table Builder: Add database tables, define column names, primary keys, and data types with a simple, clean UI.
  • πŸ”— Visual Relationships: Draw lines between tables with custom SVG-rendered connector lines and directional arrowheads to model primary/foreign key connections.
  • πŸ–ΌοΈ Export to PNG: Render and download your entire relational schema diagram as a high-quality PNG image (powered by html2canvas).
  • πŸ’Ύ Save & Load Workspaces:
    • Save your active schema configurations as .json files.
    • Import previously saved workspace .json files to instantly resume designing.
  • ⚑ Lightweight & Offline-First: Built completely using vanilla frontend technologies. No installation or heavy bundle sizesβ€”works directly in the browser!

πŸ› οΈ Tech Stack

  • Core: HTML5, CSS3, Vanilla JavaScript (ES6+)
  • Graphics: SVG (Scalable Vector Graphics) for dynamic relation line rendering
  • Image Generation: html2canvas (loaded via CDN)

πŸ“‚ Project Structure

relation_schema_maker/
β”œβ”€β”€ index.html        # Main app UI structure and SVG rendering canvas
β”œβ”€β”€ css/
β”‚   └── style.css     # Canvas positioning, table styling, and interactive layout
└── js/
    β”œβ”€β”€ app.js        # Core canvas handling, table creation, relationships, and exports
    └── router.js     # Workspace state persistence & internal app logic

πŸš€ Getting Started

Local Setup

Since Relationing Schema Maker is a static web application, there are no build steps or dependencies to install. You can run it directly in your browser.

  1. Clone the repository:

    git clone git@github.com:Exactly15/relation-schema-maker.git
    cd relation-schema-maker
  2. Run it locally:

    • Double-click index.html to open it in your browser.
    • Or, run a simple local server in the folder:
      python3 -m http.server 8000
      Then navigate to http://localhost:8000.

About

A web app to make simple relational schemas

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages