christopherdodd / shopify-koa-server Goto Github PK
View Code? Open in Web Editor NEWA minimalist framework for creating Shopify authorised applications with Koa.js
A minimalist framework for creating Shopify authorised applications with Koa.js
Thank you for this great project. Could add LICENSE.md file so that usage of this project and people contributing to the project can be clear regarding the licensing?
2021-07-22T20:01:00.282064+00:00 app[web.1]: TypeError: Cannot read property 'cookies' of undefined
2021-07-22T20:01:00.282065+00:00 app[web.1]: at prepareAuth (/app/server/routes.js:10:29)
2021-07-22T20:01:00.282066+00:00 app[web.1]: at /app/server/routes.js:20:18
2021-07-22T20:01:00.282066+00:00 app[web.1]: at dispatch (/app/node_modules/koa-compose/index.js:44:32)
2021-07-22T20:01:00.282067+00:00 app[web.1]: at next (/app/node_modules/koa-compose/index.js:45:18)
2021-07-22T20:01:00.282067+00:00 app[web.1]: at /app/node_modules/koa-router/lib/router.js:346:16
2021-07-22T20:01:00.282068+00:00 app[web.1]: at dispatch (/app/node_modules/koa-compose/index.js:44:32)
2021-07-22T20:01:00.282068+00:00 app[web.1]: at /app/node_modules/koa-compose/index.js:36:12
2021-07-22T20:01:00.282068+00:00 app[web.1]: at dispatch (/app/node_modules/koa-router/lib/router.js:351:31)
2021-07-22T20:01:00.282069+00:00 app[web.1]: at dispatch (/app/node_modules/koa/node_modules/koa-compose/index.js:42:32)
2021-07-22T20:01:00.282069+00:00 app[web.1]: at session (/app/node_modules/koa-session/index.js:41:13)
Awesome repo @christopherdodd!
One of the biggest concerns I have with the official React-Next-Koa tutorial is that it's really cumbersome, and relies on a difficult-to-grasp custom Next.js server with some Koa parts attached to it.
If you consider the earlier version of that tutorial - that only used Node and Express - it's much, much simpler. However, it also doesn't touch on some more interesting topics that the later tutorial does (like billing and a proper JS front-end framework).
I'm going to give your scaffolding a go and attempt to construct the same structure as the newer tutorial using this nice framework. I think the separation of concerns you have here makes more sense than what the official tutorial suggests.
Billing might be a hassle, but it's going to be fun to play with:) Follow my fork for updates.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.