A web application to visualize Baserow tables as Entity-Relationship Diagrams (ERD). This tool helps you understand and visualize the structure of your Baserow database by displaying tables, fields, and relationships in an interactive diagram.
- Interactive ERD visualization
- Table structure display with field types
- Relationship visualization between tables
- Primary and foreign key indicators
- Drag and drop interface
- Zoom and pan controls
- Toggle between diagram and list views
-
Frontend:
- Next.js 14
- React Flow for diagram visualization
- Tailwind CSS for styling
- TypeScript for type safety
-
Backend:
- FastAPI (Python)
- Baserow API integration
- Python 3.8+
- Node.js 18+
- Baserow account and API token
- Clone the repository:
git clone https://github.com/frodoslav/baserow-erd-viewer.git
cd baserow-erd-viewer- Set up the backend:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt- Create a
.envfile in the backend directory:
BASEROW_API_URL=https://api.baserow.io/api
BASEROW_EMAIL=your-email@example.com
BASEROW_PASSWORD=your-password- Set up the frontend:
cd frontend
npm install- Start the development servers:
Backend:
cd backend
python main.pyFrontend:
cd frontend
npm run dev- Open http://localhost:3000 in your browser
- Enter your Baserow credentials in the backend
.envfile - Start both backend and frontend servers
- Access the web interface at http://localhost:3000
- View your database structure in either diagram or list view
- Drag tables to rearrange them in the diagram view
- Use mouse wheel or pinch gestures to zoom in/out
- Click and drag the background to pan the view
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.