Coder Social home page Coder Social logo

shopify-koa-server's People

Contributors

christopherdodd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shopify-koa-server's Issues

Could you please add license details?

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?

TypeError: Cannot read property 'cookies' of undefined

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)

Removal of custom Next.js server from the app building process

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.