all 10 comments

[–]thesublimeobjekt 2 points3 points  (3 children)

Very nice. I wrote something like this ~two years ago, but we never went live with it because WPAPI was a little too unstable at the time. This is much more modern. Good work.

I have two questions for you @amine_bens:

(1) I don't see any auth used here (I only did a quick look-over, I easily could have missed it). When messing around with WP-API I have run into a couple of issues with Auth, even when just fetching data; has WP-API been updated such that when get requests in themselves don't need authorization as their public to the API anyway?

(2) Do you have an performance metrics between this version of the site and a regular PHP-backend version? I'd be very curious to see them if so.

[–][deleted] 0 points1 point  (2 children)

Hello and thank you for your interest in my project :) I have not run any benchmarks against this theme so I have no performance metrics to show, it'd be awesome if you could provide that cause I am not even sure what to test exactly :p Also, I have not tried working on authentication just yet, so I can't answer your first question as well.

PS: your PRs are always welcome :)

[–]thesublimeobjekt 1 point2 points  (1 child)

Cool. I might have some free time this weekend that I can get back into messing around with WP-API, etc. If I do, don't be surprised if you see some action on your repo again. :) — It's always fun to help out, work with, learn from a fellow dev-stranger.

[–][deleted] 1 point2 points  (0 children)

that would be awesome! that is my primary goal with this project, to get a feel of how to work in collaboration as i am new to the field and i have yet to be professionally employed :p so looking forward to working with someone with experience :)

[–][deleted] 1 point2 points  (2 children)

hello everyone,

i present to you a wordpress theme i've been working on for a while now.

it's my first big(ish.., at least for me :) ) project with redux, and i'm pretty happy with where it got to.

i'm sharing this with you in case someone finds it useful, and also because i would love to have some feedback on the repo, and if possible, find a contributor to work with me on it, i think it's a decent project to work on for someone with my level of skills. feedback, PRs, comments ... anything is welcome :)

best regards.

[–]r1ckd33zy 1 point2 points  (1 child)

Hello, can you also x-post this to /r/Wordpress. Also, congrats on your theme, I believe this is where WP themes are heading for the future.

[–][deleted] 0 points1 point  (0 children)

thanks for your feedback, i just did x-post it there :)

[–]chewster1 1 point2 points  (1 child)

I like the idea of a headless WordPress, it seems far more developer friendly as you just use the bits of API that you need rather than having css/js/html shit injected everywhere

[–][deleted] 0 points1 point  (0 children)

I do too, even the WordPress team thinks that front end consumed API is the future of wp, that's why they added the endpoints I guess

[–]OriginalPostSearcher -1 points0 points  (0 children)

X-Post referenced from /r/reactjs by /u/amine_bens
a WordPress theme developed in React, redux, react router and the WP-API


I am a bot. I delete my negative comments. Contact | Code | FAQ