Skip to content
zaidoskatePublic

About

Drawing tool with sessions and svg exportation made with a Python Flask backend, SQLite3 DB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PaintZ — Web-Based Drawing Tool

A browser-based drawing application with server-side session persistence and SVG export, built with a Python Flask backend and SQLite storage.

Python Flask SQLite JavaScript

Overview

PaintZ lets users draw in the browser and persists their work server-side, tied to a session — rather than treating the canvas as purely client-side, throwaway state. The drawing can be exported as SVG for use outside the app.

PaintZ walkthrough

Features

  • Interactive HTML5 canvas drawing interface
  • Server-side session handling — canvas state is tied to the user's session, not just kept in the browser
  • SVG export of the finished drawing
  • Persistence layer backed by SQLite3
  • Session reload
  • Resume drawing
  • Multiple color and brush sizes
  • Undo/Redo

Tech Stack

  • Backend: Python, Flask
  • Database: SQLite3
  • Frontend: HTML5 Canvas, JavaScript
  • Data format: SVG export

Architecture

Browser (Canvas + JS)
        │
        │  HTTP + session cookie
        ▼
   Flask backend
        │
        ├── Session management
        ├── Drawing state → SQLite3
        └── SVG export endpoint

Getting Started

git clone https://github.com/zaidoskate/PaintZ.git
cd PaintZ
python app.py

Then open http://localhost:5000 in your browser.

What I Learned

This project moved canvas state out of purely client-side JavaScript and into a real backend with persistence — which meant handling sessions, serialization of drawing data, and export formatting server-side rather than relying entirely on the browser. It was a practical exercise in treating a "frontend-feeling" feature as a full-stack problem.

Author

Zaid Vázquez — GitHub · LinkedIn

About

Drawing tool with sessions and svg exportation made with a Python Flask backend, SQLite3 DB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages