/Snorlogue

An plugin for the prologue web-framework of the nim-language. Provides an admin interface

Primary LanguageNimMIT LicenseMIT

NOT YET FINISHED, THE BELOW IS MERELY IN PREPARATION

Snorlogue

Snorlogue is a prologue extension, that provides a set of simple CRUD routes to administrate your database. It makes use of norm models to figure out which columns a given table has and how to best represent them.

Installation

Install Snorlogue with Nimble:

$ nimble install -y snorlogue

Add Snorlogue to your .nimble file:

requires "snorlogue"

Finally, copy the resources folder from the snorlogue package into your project directory. It contains the HTML templates for the various admin pages. This will likely not be necessary in future versions of Snorlogue.

cp -r <NIMBLE_DIRECTORY>/pkgs/snorlogue-X.X.X/snorlogue/resources <YOUR_PROJECT_DIRECTORY>/src

Example Screenshots

Table Overview Page

Table overview of all tables in example

SQL Page

Page to directly interact with the database

About Application Page

Main Settings of the application and all registered Routes

Model Table Overview Page

List view of specific table in example

Create Model Page

Create Form for a specific model in example

Update Model Page

Update Form for a specific model in example