├── .env-example.exs ├── .gitignore ├── .travis.yml ├── README.md ├── TODO.md ├── config ├── config.exs ├── dev.exs ├── prod.exs └── test.exs ├── coveralls.json ├── lib ├── nova.ex └── nova │ ├── commands │ ├── order_commands.ex │ ├── product_commands.ex │ ├── property_commands.ex │ └── variant_commands.ex │ ├── endpoint.ex │ ├── queries │ ├── order_queries.ex │ ├── product_queries.ex │ ├── property_queries.ex │ └── variant_queries.ex │ └── repo.ex ├── mix.exs ├── mix.lock ├── package.json ├── priv ├── repo │ ├── migrations │ │ ├── 20150824152402_create_product.exs │ │ ├── 20150825080952_create_variant.exs │ │ ├── 20150825083719_create_option_type.exs │ │ ├── 20150825084354_create_option_value.exs │ │ ├── 20150828081233_create_option_value_variant.exs │ │ ├── 20150831123726_create_option_type_product.exs │ │ ├── 20150901110132_create_property.exs │ │ ├── 20150901123849_create_product_property.exs │ │ ├── 20150901151806_create_order.exs │ │ ├── 20150901153519_create_line_item.exs │ │ └── 20150914131953_add_total_to_line_items.exs │ └── seeds.exs └── static │ ├── css │ └── app.css │ ├── favicon.ico │ ├── images │ └── phoenix.png │ ├── js │ ├── app.js │ └── phoenix.js │ └── robots.txt ├── setup_travis_ci.sh ├── test ├── controllers │ └── page_controller_test.exs ├── fixtures │ ├── option_types.exs │ ├── option_values.exs │ ├── orders.exs │ ├── products.exs │ ├── properties.exs │ └── variants.exs ├── models │ ├── line_item_test.exs │ ├── option_type_product_test.exs │ ├── option_type_test.exs │ ├── option_value_test.exs │ ├── option_value_variant_test.exs │ ├── order_test.exs │ ├── product_property_test.exs │ ├── product_test.exs │ ├── property_test.exs │ └── variant_test.exs ├── nova │ ├── commands │ │ ├── order_commands_test.exs │ │ ├── product_commands_test.exs │ │ ├── property_commands_test.exs │ │ └── variant_commands_test.exs │ └── queries │ │ ├── order_queries_test.exs │ │ ├── product_queries_test.exs │ │ ├── property_queries_test.exs │ │ └── variant_queries_test.exs ├── support │ ├── channel_case.ex │ ├── conn_case.ex │ └── model_case.ex ├── test_helper.exs └── views │ ├── error_view_test.exs │ ├── layout_view_test.exs │ └── page_view_test.exs ├── web ├── channels │ └── user_socket.ex ├── controllers │ └── page_controller.ex ├── models │ ├── line_item.ex │ ├── option_type.ex │ ├── option_type_product.ex │ ├── option_value.ex │ ├── option_value_variant.ex │ ├── order.ex │ ├── product.ex │ ├── product_property.ex │ ├── property.ex │ └── variant.ex ├── router.ex ├── static │ └── js │ │ └── app.js ├── templates │ ├── layout │ │ └── app.html.eex │ └── page │ │ └── index.html.eex ├── views │ ├── error_view.ex │ ├── layout_view.ex │ └── page_view.ex └── web.ex └── webpack.config.js /.env-example.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/.env-example.exs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/TODO.md -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/config/config.exs -------------------------------------------------------------------------------- /config/dev.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/config/dev.exs -------------------------------------------------------------------------------- /config/prod.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/config/prod.exs -------------------------------------------------------------------------------- /config/test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/config/test.exs -------------------------------------------------------------------------------- /coveralls.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/coveralls.json -------------------------------------------------------------------------------- /lib/nova.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova.ex -------------------------------------------------------------------------------- /lib/nova/commands/order_commands.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/commands/order_commands.ex -------------------------------------------------------------------------------- /lib/nova/commands/product_commands.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/commands/product_commands.ex -------------------------------------------------------------------------------- /lib/nova/commands/property_commands.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/commands/property_commands.ex -------------------------------------------------------------------------------- /lib/nova/commands/variant_commands.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/commands/variant_commands.ex -------------------------------------------------------------------------------- /lib/nova/endpoint.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/endpoint.ex -------------------------------------------------------------------------------- /lib/nova/queries/order_queries.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/queries/order_queries.ex -------------------------------------------------------------------------------- /lib/nova/queries/product_queries.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/queries/product_queries.ex -------------------------------------------------------------------------------- /lib/nova/queries/property_queries.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/queries/property_queries.ex -------------------------------------------------------------------------------- /lib/nova/queries/variant_queries.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/queries/variant_queries.ex -------------------------------------------------------------------------------- /lib/nova/repo.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/lib/nova/repo.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/mix.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/package.json -------------------------------------------------------------------------------- /priv/repo/migrations/20150824152402_create_product.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150824152402_create_product.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150825080952_create_variant.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150825080952_create_variant.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150825083719_create_option_type.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150825083719_create_option_type.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150825084354_create_option_value.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150825084354_create_option_value.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150828081233_create_option_value_variant.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150828081233_create_option_value_variant.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150831123726_create_option_type_product.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150831123726_create_option_type_product.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150901110132_create_property.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150901110132_create_property.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150901123849_create_product_property.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150901123849_create_product_property.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150901151806_create_order.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150901151806_create_order.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150901153519_create_line_item.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150901153519_create_line_item.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20150914131953_add_total_to_line_items.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/migrations/20150914131953_add_total_to_line_items.exs -------------------------------------------------------------------------------- /priv/repo/seeds.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/repo/seeds.exs -------------------------------------------------------------------------------- /priv/static/css/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/static/css/app.css -------------------------------------------------------------------------------- /priv/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/static/favicon.ico -------------------------------------------------------------------------------- /priv/static/images/phoenix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/static/images/phoenix.png -------------------------------------------------------------------------------- /priv/static/js/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /priv/static/js/phoenix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/static/js/phoenix.js -------------------------------------------------------------------------------- /priv/static/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/priv/static/robots.txt -------------------------------------------------------------------------------- /setup_travis_ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/setup_travis_ci.sh -------------------------------------------------------------------------------- /test/controllers/page_controller_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/controllers/page_controller_test.exs -------------------------------------------------------------------------------- /test/fixtures/option_types.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/option_types.exs -------------------------------------------------------------------------------- /test/fixtures/option_values.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/option_values.exs -------------------------------------------------------------------------------- /test/fixtures/orders.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/orders.exs -------------------------------------------------------------------------------- /test/fixtures/products.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/products.exs -------------------------------------------------------------------------------- /test/fixtures/properties.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/properties.exs -------------------------------------------------------------------------------- /test/fixtures/variants.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/fixtures/variants.exs -------------------------------------------------------------------------------- /test/models/line_item_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/line_item_test.exs -------------------------------------------------------------------------------- /test/models/option_type_product_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/option_type_product_test.exs -------------------------------------------------------------------------------- /test/models/option_type_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/option_type_test.exs -------------------------------------------------------------------------------- /test/models/option_value_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/option_value_test.exs -------------------------------------------------------------------------------- /test/models/option_value_variant_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/option_value_variant_test.exs -------------------------------------------------------------------------------- /test/models/order_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/order_test.exs -------------------------------------------------------------------------------- /test/models/product_property_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/product_property_test.exs -------------------------------------------------------------------------------- /test/models/product_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/product_test.exs -------------------------------------------------------------------------------- /test/models/property_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/property_test.exs -------------------------------------------------------------------------------- /test/models/variant_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/models/variant_test.exs -------------------------------------------------------------------------------- /test/nova/commands/order_commands_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/commands/order_commands_test.exs -------------------------------------------------------------------------------- /test/nova/commands/product_commands_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/commands/product_commands_test.exs -------------------------------------------------------------------------------- /test/nova/commands/property_commands_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/commands/property_commands_test.exs -------------------------------------------------------------------------------- /test/nova/commands/variant_commands_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/commands/variant_commands_test.exs -------------------------------------------------------------------------------- /test/nova/queries/order_queries_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/queries/order_queries_test.exs -------------------------------------------------------------------------------- /test/nova/queries/product_queries_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/queries/product_queries_test.exs -------------------------------------------------------------------------------- /test/nova/queries/property_queries_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/queries/property_queries_test.exs -------------------------------------------------------------------------------- /test/nova/queries/variant_queries_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/nova/queries/variant_queries_test.exs -------------------------------------------------------------------------------- /test/support/channel_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/support/channel_case.ex -------------------------------------------------------------------------------- /test/support/conn_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/support/conn_case.ex -------------------------------------------------------------------------------- /test/support/model_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/support/model_case.ex -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/test_helper.exs -------------------------------------------------------------------------------- /test/views/error_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/views/error_view_test.exs -------------------------------------------------------------------------------- /test/views/layout_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/views/layout_view_test.exs -------------------------------------------------------------------------------- /test/views/page_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/test/views/page_view_test.exs -------------------------------------------------------------------------------- /web/channels/user_socket.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/channels/user_socket.ex -------------------------------------------------------------------------------- /web/controllers/page_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/controllers/page_controller.ex -------------------------------------------------------------------------------- /web/models/line_item.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/line_item.ex -------------------------------------------------------------------------------- /web/models/option_type.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/option_type.ex -------------------------------------------------------------------------------- /web/models/option_type_product.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/option_type_product.ex -------------------------------------------------------------------------------- /web/models/option_value.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/option_value.ex -------------------------------------------------------------------------------- /web/models/option_value_variant.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/option_value_variant.ex -------------------------------------------------------------------------------- /web/models/order.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/order.ex -------------------------------------------------------------------------------- /web/models/product.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/product.ex -------------------------------------------------------------------------------- /web/models/product_property.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/product_property.ex -------------------------------------------------------------------------------- /web/models/property.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/property.ex -------------------------------------------------------------------------------- /web/models/variant.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/models/variant.ex -------------------------------------------------------------------------------- /web/router.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/router.ex -------------------------------------------------------------------------------- /web/static/js/app.js: -------------------------------------------------------------------------------- 1 | console.log('Hello there.'); 2 | -------------------------------------------------------------------------------- /web/templates/layout/app.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/templates/layout/app.html.eex -------------------------------------------------------------------------------- /web/templates/page/index.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/templates/page/index.html.eex -------------------------------------------------------------------------------- /web/views/error_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/views/error_view.ex -------------------------------------------------------------------------------- /web/views/layout_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/views/layout_view.ex -------------------------------------------------------------------------------- /web/views/page_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/views/page_view.ex -------------------------------------------------------------------------------- /web/web.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/web/web.ex -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreapavoni/nova/HEAD/webpack.config.js --------------------------------------------------------------------------------