An open API service indexing awesome lists of open source software.

https://github.com/zoltan-nz/nested-set-app

Products and categories in a tree...
https://github.com/zoltan-nz/nested-set-app

Last synced: 7 months ago
JSON representation

Products and categories in a tree...

Awesome Lists containing this project

README

          

Nested Set App
==============

Todo:

- Setup awesome nested set gem
- Create category with subcategories
- Create product management
- Create a page where you can manage products and sort orders: Catalogs

###Models:

Category:
name :string
parent_id :integer
lft :integer
rgt :integer
depth :integer

Product:
name :string
category_id :integer
price :decimal

Catalog:
name :string

Join tables:
catalog-category
catalog_id
category_id
sort_order :decimal

catalog-product
catalog_id
product_id
sort_order :decimal

### Todo

- build rails view version
- build backbone view version
- compare speed