npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gform-app

v0.1.1

Published

A framework to rapidly create administrative uis such as database clients or cms.

Downloads

8

Readme

gform-app

A framework to rapidly create administrative uis such as database clients or cms. Supports creation of master and detail views based on schemas. Also supports creation of schemas in the ui, which is the essential ingredient to create a cms.

applications built with gfom-app

mongomat

An admin ui for mongodb (More) This is an example of the dynamic resources approach. Stores and schemas can be created and modified at runtime.

mongoose admin example

An example of how to create an admin ui for mongoose (More). This is an example of the static resources approach. All stores and schemas are defined externally and do not change.

examples

The following examples use localstorage to persist data. Check them out in the browser

static

A simple example a single store with a single static schema:

cms4apps

A cms that uses handlebars for rendering.

An example of a single store with its documents forming a tree structure. Documents are individually associated to schemas by a discriminator property. Each schema has a template. The gui provides a tree view, a preview and a details editor.

The cms does not provide a way to statically generate the site or dynamically serve it either. It is up to the developer to write an application that uses the content and templates from the cms. Usually applications use extra logic and more data sources to render the pages. This extra information can be mocked in the cms using extra data. For example the login information of the current user are replaced by static mock data in the cms.

dynamic

An example of a dynamic resource factory, which provides a way to dynamically create new schemas and stores.

installation

git clone www.github.com/stemey/gform-app
cd gform-app
bower install

open browser to load examples: /src/gform-app/examples/?.html

to optimize te javascript:

npm install
grunt build

open browser to load examples: /dist/gform-app/examples/?.html

Test

grunt test

open in browser: /node_modules/intern/client.html?config=src/gform-app/tests/intern

Documentation

  • domain explains the basic concepts.

  • messages explains the messages that the loosely coupled components use to communicate.

  • configuration explains how to configure an application from the basic building blockes.