• Stars
    star
    155
  • Rank 239,961 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Angular Ecommerce PWA Framework

Daffodil

Chat on Discord Build Status Maintainability Test Coverage experimental

Table of contents

What is Daffodil?

In general, Daffodil is a frontend Ecommerce framework that allows developers to build complex Ecommerce stores.

Specifically, Daffodil is a frontend toolkit that accomplishes three things:

  1. Improve developer workflow when writing frontend software for Ecommerce stores.
  2. Provide a consistent frontend developer tool-chain regardless of a business's chosen ecommerce platform.
  3. Drastically improve the end-user experience of online-shopping.

What are Daffodil's features?

Daffodil's features include the following:

  • πŸ†“ Forever Free, Open Source, and MIT Licensed
  • πŸ”¨ Platform Agnostic Drivers for your platform of choice
    • Shopify
    • Magento 2
    • In-Memory Backend
      • Prebuilt
      • ⚑ Great for lightning fast iteration and concepting
  • 🍰 Decoupled and Composable Packages for your use case
    • Product
    • Cart
    • Checkout
  • πŸ“š Well Documented
    • Example Implementation
    • API References
    • Tutorials
  • πŸ’‘ Component Kit
    • Purely Functional
    • Themeable
    • Accessible
    • Supports Server-side Rendering
    • Well Tested
    • Fantastic Performance
    • IE 11+ Support

What do I need before I start using Daffodil?

Daffodil was developed so you can get started without connecting to a platform. Because of its driver-like nature, all you need is the following:

  1. Node.js v14+
  2. npm
  3. An Angular project

How do I start using Daffodil?

After installing the prerequisites, you can choose the packages that you want and get started using Daffodil with your new or existing Ecommerce store.

Who uses Daffodil and why?

The target devopers for Daffodil include, but are not limited to, the following:

  1. Developers who want to explore and experiment with Progressive Web Apps (PWAs).
  2. Developers who are comfortable with Angular and are interested in job opportunities in Ecommerce.
  3. Developers who work with businesses that have existing websites but want a better user interface and experience.
  4. Developers who are forward-thinking, have gone through a re-platforming, and want to deflect future re-platforming.

What packages do I use?

For a basic Ecommerce site, you need all of the most commonly used packages (common packages), which are the following:

Note: Both the core and driver packages are dependencies for most other packages. Developers do not interact with these packages directly.

Referring to the aforementioned use cases, here are some lists and explanations of recommended Daffodil packages.

1. To explore and experiment with PWAs

If you don't have a project in mind and want to see something in Daffodil working, then use:

2. To expand Ecommerce opportunities

If you want to expand your portfolio for more Ecommerce opportunities, then use the common packages and optionally include:

You won't need to use more than the aforementioned common packages(#pwapackages) until you have a specific business use or requirement. However, if you are design-focused, then you can either use your own design framework or use the design package.

3. To improve the user experience for existing business sites

If you have an existing site, either your own or backed by a business, then there are a few working assumptions about the site: it has SEO and specific URLs, and the product pages need to show lists of related products. So, in addition to the common packages, you may need the following packages:

4. To prevent future re-platforming

If you want to prevent future re-platforming of your Ecommerce site, there are a few assumed advanced requirements. For example, the business has complex product configurations and has marketing email campaigns. So, in addition to the common packages and the packages for improving user experiences, you may also need the following packages:

Packages

Below is a table of currently available Daffodil packages.

Project Package Version Stability
Authorize.net @daffodil/authorizenet latest experimental
Cart @daffodil/cart latest experimental
Category @daffodil/category latest experimental
Checkout @daffodil/checkout latest experimental
Contact @daffodil/contact latest experimental
Core @daffodil/core latest experimental
Design @daffodil/design latest experimental
Driver @daffodil/driver latest experimental
External Router @daffodil/external-router latest experimental
Geography @daffodil/geography latest experimental
Newsletter @daffodil/newsletter latest experimental
Paypal @daffodil/paypal latest experimental
Product @daffodil/product latest experimental
Composite Product @daffodil/product-composite latest experimental
Configurable Product @daffodil/product-configurable latest experimental
SEO @daffodil/seo latest experimental

Note: About the checkout package, it is currently a legacy package; there is no reason to use it. However, the checkout package eventually may be filled with extracts from the cart and order packages.

More Repositories

1

magento2-cors

A Magento 2 module that enables configurable CORS Headers on the GraphQL and REST APIs
PHP
84
star
2

github-actions-magento2

Github Actions and Workflows that make maintaining Magento2 projects and modules easier.
TypeScript
42
star
3

mage2docker

A performant, replicable, and production-like alpine Magento 2 local development environment that leverages Docker.
Dockerfile
36
star
4

magento2-stdlogging

A drop in Magento 2 Module to pump all Magento 2 logs to StdErr instead of files.
PHP
22
star
5

magento2-graphql-introspection-cache

This package caches introspection results from the GraphQl native `__types` query.
PHP
9
star
6

magento2-helm

A production-grade helm chart for clustered Magento 2 applications.
Smarty
8
star
7

magento2-graphql-logger

Unique GraphQl queries for development purposes along with when the query was last run.
PHP
6
star
8

magento2-guest-orders-graphql

A Magento 2 module that adds a GraphQL orders endpoint for guest carts.
PHP
5
star
9

nx-php

An experimental and currently WIP NX Plugin for PHP.
TypeScript
5
star
10

magento2-daffodil

A Magento 2 module that configures Magento 2 for usage with Daffodil
PHP
5
star
11

stackblitz-projects

A set of quickstart Stackblitz projects showcasing using Daffodil wth Angular.
TypeScript
4
star
12

magento2-custom-attribute-metadata-cache

This package adds a cache identity for the customAttributeMetadata GraphQl query.
PHP
3
star
13

github-actions

Github Actions for various things we do at Graycore
TypeScript
3
star
14

magecheck

A Github workflow that standardizes the quality control processes of Magento 2 Stores and Extensions.
3
star
15

gtm-server-helm

An experimental Helm Chart for Google Tag Manager Server.
Smarty
2
star
16

magento2-quote-graphql-aux

A Magento 2 package that contains additional GraphQl modifications to the cart to solve common UI problems.
PHP
1
star
17

magento2-orders-graphql

A Magento 2 module that adds a fully featured GraphQL orders endpoint.
PHP
1
star
18

magedocker

A Magento 1.X Local Docker Environment
Dockerfile
1
star
19

new-relic-graph-ql

Add additional features to Magento's native integration with New Relic for GraphQl.
PHP
1
star