0.0.8 • Published 24 days ago

@taitrd/commerce v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
24 days ago

Commerce Packages

Requirements

  • @taitrd/next@latest
  • NextJs >= 12
  • ReactJs
  • React Hook Form

Content

  • Type definitions

  • Constants

    • Theme positions

      export const THEME_POSITION = {
          NAVIGATION:         'nav__full-width',
          RES_NAVIGATION:     'res-nav__full-width',
          HOME_SLIDER:        'home-slider__full-width',
          HOME_SLIDER_SW7:    'home-slider__sw-70',
          HOME_STATIC_SW3:    'home-static__sw-30',
          FOOTER:             'footer__full-width',
          FOOTER_INNER_SW2:   'footer-inner__sw-20',
          NEWSLETTER:         'newsletter__full-width',
          PAGE_CONTENT:       'page-content__full-width',
          COPY_RIGHT:         'copyright__sw-50',
      }
  • Store APIs (public and private) integrate to Backend functions

  • Authentication

    • Using authProps function to capture user credentials

      import authProps from '@pages/_auth-props'
      
      export const getServerSideProps = authProps(async function (context: NextPageContext, user?: User) {
        return {
          props: {
            user,
          },
        }
      })

      Redirect to route user/login if not exists valid authentication.

  • Dealer

  • Store

  • Wishlist

  • Cart

  • Utils

  • Websocket

0.0.8

24 days ago

0.0.7

3 months ago

0.0.6

4 months ago

0.0.5

8 months ago

0.0.4

9 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago