Saleor App x NextJS

What?

Saleor plugin

The extension which has to be installed on Saleor server

Saleor App

Separate project communicating with API via webhooks and GraphQL API 

(That's the cool one)

Why?

  • Maintaining fork is.... challenging
  • You can write it in any language
  • There will be marketplace!

How?

NEXT JS

(I'm huge fan)

  • TS + GraphQL = ❤️ 
  • You need JS stack anyway (for configuration view)
  • Async!

Let's roll.

pre-setup

  • ngrok for API and app
  • saleor on local env
  • setup saleor
    • settings/dashboard/site-settings: enter your domain

Clone this bad boi

Honorable mentions

  • tsconfig, next.config, codegen
  • Registration
  • pages/api
Made with Slides.com