Metnew / React-Koa-Rethink

Example app with Koa/React/RethinkDB, socket.io [ARCHIVED]
MIT License
8 stars 0 forks source link

Local running instruction #1

Closed Rajan closed 8 years ago

Rajan commented 8 years ago

This is a great setup and I'd like to use for a new project. I ran using "sudo npm start" and ran into this at the browser:

No Authorization header found

Can you add instructions to run this locally?

Metnew commented 8 years ago

Sorry, but this setup isn't ready now. I'll finish it in next few days(2-3 days). "No Authorization header found" - result of using "koa-jwt" for all application requests. I have second repo with frontend part for this project, that will be merged here. Thanks for issue.

Metnew commented 8 years ago

7bc35d1 fix some your issues, more info you can find in Readme. Contributions are welcome.

Rajan commented 8 years ago

I'm playing with this. It has Marco templating engine and angular in the frontend, Koa/rethink in the backend. Check it out for real-time apps. What are your thoughts?

https://github.com/knowthen/Episode-10-Building-realtime-web-applications

Metnew commented 8 years ago

IMHO - it's a good, comparably old, small example - angular 1.x isn't a trend now, koa version is old. This app just shows a possibilities of Koa, Socket.io, Rethinkdb. Also, there is good example of connection to Rethinkdb.

Rajan commented 8 years ago

Are we targeting the web too? How is our new example relevant in Bootstrap 4.0 scenario?

On Mon, May 30, 2016 at 12:33 AM, Vladimir Metnev notifications@github.com wrote:

IMHO - it's a good, comparably old, small example - angular 1.x isn't a trend now, koa version is old. This app just shows a possibilities of Koa, Socket.io, Rethinkdb. Also, there is good example of connection to Rethinkdb https://github.com/knowthen/Episode-10-Building-realtime-web-applications/blob/master/dash.js.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Metnew/koa-graphql-rethinkdb-starter/issues/1#issuecomment-222376944, or mute the thread https://github.com/notifications/unsubscribe/AADrkx21HLcAKcc7qJV5YxATwby7jlv8ks5qGeL-gaJpZM4IoYEN .

Rajan commented 8 years ago

React and Bootstrap 4: https://github.com/reactstrap/reactstrap

Metnew commented 8 years ago

Sorry, I didn't get that - "Are we targeting the web too?". Hm, Reactstrap is interesting project, thanks for link. Changing Material.ui to Reactstrap won't change the project stability, cause it's just frontend packs of react elements, if you asked about that. Reactstrap or something similar will be added to Yeoman generator.

Rajan commented 8 years ago

The interesting thing about Marco is that it updates (diff patches the DOM without the virtual part) and I guess that's faster than doing the react/virtual-dom for web-apps at least.

Metnew commented 8 years ago

Marco is server-side rendering engine, am I right? Isn't client-side?

Rajan commented 8 years ago

It does both.

Marko is a really fast and lightweight HTML-based templating engine that compiles templates to readable Node.js-compatible JavaScript modules, and it works on the server and in the browser.

Metnew commented 8 years ago

Oh, cool, thnx.