✨✨An interactive web application for creating and managing Entity-Relationship diagrams with real-time collaboration features.✨✨
- Create and edit ER diagrams with an intuitive interface
- Real-time diagram preview
- Export diagrams in multiple formats
- Save diagram history
- Collaborative editing
- File upload support for importing existing diagrams
- Node.js 18+
- PostgreSQL
- npm or yarn
- Clone the repository:
git clone https://github.com/mansi104-ai/EasyER/.git
cd EasyER
- Install frontend dependencies:
cd er-diagram-generator
npm install
Install backend dependencies:
cd backend
pip install -r requirements.txt
- Set up your environment variables:
cp .env.example .env
- Configure your database connection in
.env
:
DATABASE_URL="postgresql://user:password@localhost:5432/er_diagram_db"
- Run database migrations:
npx prisma migrate dev
- Start the development server:
npm run dev
Visit http://localhost:3000
to start using the application.
The application uses the following database models:
- 📐Diagram: Stores diagram metadata and content
- 👩🏽💻User: User authentication and preferences
- ⏱️History: Tracks diagram changes and versions
- 🔗Collaboration: Manages shared access and permissions
/api/diagrams
: CRUD operations for diagrams/api/diagrams/generate
: Generate diagram from specifications/api/history
: Track and retrieve diagram history/api/collaboration
: Manage shared access
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.