Live data from Hacker News

Django React Redux JWT Base Project

github.com

1–10 of 28 posts

Re: Django React Redux JWT Base Project

#6
post #5

Note: JWT is JSON Web Token in this case, not Java Web Toolkit. This was very confusing to me as JWT is only mentioned in the title but not anywhere else in the README.

right! you can't just put JWT in there. I saw that and was like...maybe we went too far? hehe

Re: Django React Redux JWT Base Project

#8

Very niche, but if you need it this could definitely save you a few hours. I wish I had this last weekend for a hackathon where I used a stack very similar to this. I spent longer than I should have to get webpack up and running with Django.

Silly question, but can't you run Django to serve your backend API, and Webpack to serve your static assets including javascript, then use an http proxy like Nginx to serve them under the same url?

Re: Django React Redux JWT Base Project

#9

Very niche, but if you need it this could definitely save you a few hours. I wish I had this last weekend for a hackathon where I used a stack very similar to this. I spent longer than I should have to get webpack up and running with Django.

Silly question, but can't you run Django to serve your backend API, and Webpack to serve your static assets including javascript, then use an http proxy like Nginx to serve them under the same url?

well for development that's a good idea. For production you don't want to have webpack serving anything, you want it compiled, right?

Re: Django React Redux JWT Base Project

#10
post #6
post #5

Note: JWT is JSON Web Token in this case, not Java Web Toolkit. This was very confusing to me as JWT is only mentioned in the title but not anywhere else in the README.

right! you can't just put JWT in there. I saw that and was like...maybe we went too far? hehe

Hey, I'm the developer. I've corrected the readme. Thanks!
Post reply on HN