captn3m0 / northwind

A simple website using the northwind dataset as a demo for jekyll-sqlite

Home Page:https://northwind.captnemo.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

northwind.captnemo.in

This is a demo website for the Jekyll SQLite plugin. It relies on all features of the plugin, along with using jekyll-datapage_gen plugin to generate individual pages for each data item.

Some pointers:

  1. A per-page query is used on the restock page to generate list of products that need to be restocked. source
  2. Customers, Orders, Products, Categories are set as global data items in config.yml
  3. site.data.categories[*].products is filled using a parameterised query in config.yml
  4. Featured Product and Employee of the Month, shown on homepage are set by a query in config.yml, but the query parameters are set in _data directory as YML files.
  5. The datapage plugin config generates a page for every product and customer.

The database is a trimmed-version of the northwind database from https://github.com/jpwhite3/northwind-SQLite3.

About

A simple website using the northwind dataset as a demo for jekyll-sqlite

https://northwind.captnemo.in


Languages

Language:HTML 89.2%Language:Ruby 10.8%