erd-web-server icon indicating copy to clipboard operation
erd-web-server copied to clipboard

A web server to generate ER diagrams

erd-web-server

A web server to generate ER diagrams.

The code generating the ER diagram was stolen from the fantastic erd project. Unfortunately it is an application, not a library and Haskell does not permit to use an application as a dependency so I just copied the code. Kudos to the original author Andrew Gallant.

Hopefully we could extract the code or erd in a library used by erd and erd-web-server (see issue on erd)

Cool, how can I run this stuff?

For now you have to clone the repository and run:

cabal update
cabal install
erd-web-server -p 8000
# or
dist/build/erd-web-server/erd-web-server -p 8000

In the future we hope to put this on Hackage.

I do not know how to run this Haskell weird stuff on my Mac

Simply install cabal:

brew install cabal-install