https://github.com/captn3m0/northwind
  
  
    A simple website using the northwind dataset as a demo for jekyll-sqlite 
    https://github.com/captn3m0/northwind
  
jekyll-sqlite northwind sample-database sample-website static-site static-site-generator
        Last synced: 5 months ago 
        JSON representation
    
A simple website using the northwind dataset as a demo for jekyll-sqlite
- Host: GitHub
- URL: https://github.com/captn3m0/northwind
- Owner: captn3m0
- Created: 2024-07-25T10:45:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-26T22:27:08.000Z (5 months ago)
- Last Synced: 2025-05-30T22:58:57.828Z (5 months ago)
- Topics: jekyll-sqlite, northwind, sample-database, sample-website, static-site, static-site-generator
- Language: HTML
- Homepage: https://northwind.captnemo.in
- Size: 233 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
- 
            Metadata Files:
            - Readme: README.md
 
Awesome Lists containing this project
README
          # 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](https://github.com/captn3m0/northwind/blob/main/restock.md?plain=1)
2. Customers, Orders, Products, Categories are set as global data items
   in [config.yml](https://github.com/captn3m0/northwind/blob/main/_config.yml)
3. `site.data.categories[*].products` is filled using a parameterised query
   in [`config.yml`](https://github.com/captn3m0/northwind/blob/main/_config.yml#L47-L49)
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`](https://github.com/captn3m0/northwind/tree/main/_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.