react-projects
react-projects copied to clipboard
Blog project
I think blog project made with Next.js (SSG) may be very good project to include in this repository 😁
Hey Nice idea ... I have some experience with Node also. I think we should start. Lemme comment after a simple setup and a db schema
Started some work after forking this repo. Will push it here after work is complete. Checkout it out here: https://github.com/HellBringer419/react-projects/tree/blog_project_branch
Please check the blog/ and tell me if I should add you as a contributor.
Yeah, looks good, I think we should also add Headless CMS, where user can manage his blog posts :)
@HellBringer419 what do you think about using Wordpress as Headless CMS in this project? 😁
Why do use WordPress? I believe you got my invite for collab too. Sorry, I was a bit busy.
Also, what's done right now is not the project itself. I just initialized it. Work remains
Ok, I will look on it, but I think that WordPress is the most popular and if we use it as Headless CMS we should get neat performance ;)
Hmm, do you create any template or basic structure of the project? I don't see anything :)
Yeah there is a folder 'blog' inside the 'blog_project_branch' branch Link to the exact place: https://github.com/HellBringer419/react-projects/tree/blog_project_branch/blog
Seems like you are new to git. Here's the how-to:
- Clone my fork locally with
$ git clone https://github.com/HellBringer419/react-projects.git
- Switch to the branch with
$ git checkout blog_project_branch
- Move to blog folder (
$ cd blog
)
You can then run it with yarn .... that's just the template btw. If you do any changes remember to pull then push. Also pull periodically to get latest changes. Also, you'll find a NOTES.md file inside and I wanted to update it with the steps and knowledge so someone else can create their own thing with this (and hopefully learn). May change NOTES.md to README.md later
Heh, ok, I didn't think about taking a look at another branch 😅, I already know everything, thanks, I'll be working on it 😁
Which CMS do you think to use?
Didn't actually think through it. If it's actually possible, I need to learn this. Let's go with WordPress.
Also I added 2 funny blogs (static files for now) ;-p
Ok, but for WP you have to upload its files on the server, so you should have hosting or something like this.
I think its an overhead then. Wouldn't it be a better idea to make the functionality with Next and then host it (like on heroku)?
The problem I referred to was integration. Like if I send over my files to WP server, would React play well with php. I mean if someone needs a WP site, why should they choose React (or Next) over php. Especially when everything is already built for the job.
Also, for the original question. Yeah I'm okay with sending over my js files to WP server provided it's the hosting is free. (WP has that offer btw)
Yeah, but I mean to use WordPress as Headless CMS, then fetch data on frontend (Next.js) and host on for example Vercel.
But ok, if you want use something else I agree ;)
Now You got me interested. Let's do it your way. Use WP as headless CMS.
Ok, but do you provide WP on server?
Not yet. Can't we like do the conf and then host it somewhere and then access it? Like an API. Please tell me if am missing something.
We should upload wp files to the server, then install wpgraphql plugin and on frontend with a link to our api fetch posts, comments etc.