Haskell

The meeting place for professional Haskell programmers
You are not logged in. In order to participate in Special Interest Groups, you should log in now .

I made this admin/crud interface (Feature)

Created by Yair Chuchem on October 23, 2011 12:02:39 AM.
Status: Open

Messages

By Yair Chuchem @ October 23, 2011 12:18:41 AM
Hey,

I made this little admin/crud interface - see https://github.com/yairchu/yesod-admin-crud

It provides a simple admin interface to see data from the database, add rows, edit and delete.

The library user just has to add a route for the sub-site and a call to "mkYesodAdmin" along with his "mkPersist".

It works, but it isn't finished yet.
It lacks some stuff such as:
*Giving admin interface access only to admins.
*Selecting which part of the table to see if it has many rows.
*It doesn't look so nice. I don't know HTML/CSS..
*No support for admin interfaces for multiple different yesod apps running in same program.. This is due to a limitation of mkYesodSub or of my understanding of how to use it (?)..

I saw https://github.com/piyush-kurur/yesod-admin but I wanted something where the user doesn't need to do manual work to get the admin interface.

Cheers, Yair
By Michael Snoyman @ October 23, 2011 04:20:10 AM
Wow, that's really cool! Mind sending an email to the Yesod mailing list? I'm sure lots of people there would be interested. (I can send it myself if you prefer.)
By Yair Chuchem @ October 23, 2011 09:16:55 AM
Done. Glad you like it :)

Login with