Hashnode / mern-starter

⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
MIT License
5.16k stars 1.18k forks source link

MERN v3.0.0 🚀 #344

Open abinavseelan opened 6 years ago

abinavseelan commented 6 years ago

Hey 👋

It's been a little over a year since MERN v2 was released. A lot has changed in the React landscape and it's about time we get back to this project to bring it up to speed with 2018. 😄

Progress on this project has been rather slow from our end due us focusing our efforts on development of Hashnode. While retrospecting our open-source contributions, the need for a new version of MERN came to light, as highlighted by the numerous issues and PR’s that have been raised over the past year to update the repository. We apologize for not getting to this sooner.

What's coming 📦

Here is a brief list of the features that we have in the pipeline for the 3.0:

Have a request or suggestion? 💭

If you have any feature requests or suggestions, do leave them below and we'll see if we can bring it into 3.0 😄


Update

(27th May, 2018) We're are looking for new maintainers… Read full update

myarete commented 6 years ago

@mannyhenri Definitely still interested :)

fazlerocks commented 6 years ago

@MrChristofferson You are a maintainer now! 🏅🎉

AndrewBestbier commented 6 years ago

Also keen to contribute 👍

fazlerocks commented 6 years ago

@AndrewBestbier Added you. 🍺

mannyhenri commented 6 years ago

Just tried it and there seems to be a lot of errors, which I have a feeling are all related to React Router’s V4 updated syntax. Let me suggest this if you guys are ok and up to it, unless @fazlerocks or anyone that has touched it before you have an objection…we start fresh and update only the safest items first, like React V16 should be straightforward. I would also create branches up to 3.0 so start at 2.5 (React 16 update with Redux validation)….2.6 (webpack)….2.7…(Mongoose and DB validation check)….2.8 (React Router V4)…2.9 (express & remaining dependencies)…3.0 (official new release)…3.1( replace redux with improved context APIs or not?). Going from 2 to 3 is a monumental task and it would be better to take it one step at a time and isolate errors and patches to specific versions before we move on, also this way we could upgrade master at each step. What do you guys think? I will also post these comments on the issue related to updating the version. If all agree I’ll clean up the related PRs/issues related to current V3.0.0 branch.

Also, anyone that hasn't been added to contributors and would like to help, let @fazlerocks know and we'll add you.

jnlsn commented 6 years ago

This sounds much more reasonable :)

On Fri, Jun 1, 2018, 9:02 AM Manny Henri notifications@github.com wrote:

Just tried it and there seems to be a lot of errors, which I have a feeling are all related to React Router’s V4 updated syntax. Let me suggest this if you guys are ok and up to it, unless @fazlerocks https://github.com/fazlerocks or anyone that has touched it before you have an objection…we start fresh and update only the safest items first, like React V16 should be straightforward. I would also create branches up to 3.0 so start at 2.5 (React 16 update with Redux validation)….2.6 (webpack)….2.7…(Mongoose and DB validation check)….2.8 (React Router V4)…2.9 (express & remaining dependencies)…3.0 (official new release)…3.1( replace redux with improved context APIs or not?). Going from 2 to 3 is a monumental task and it would be better to take it one step at a time and isolate errors and patches to specific versions before we move on, also this way we could upgrade master at each step. What do you guys think? I will also post these comments on the issue related to updating the version. If all agree I’ll clean up the related PRs/issues related to current V3.0.0 branch.

Also, anyone that hasn't been added to contributors and would like to help, let @fazlerocks https://github.com/fazlerocks know and we'll add you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Hashnode/mern-starter/issues/344#issuecomment-393908347, or mute the thread https://github.com/notifications/unsubscribe-auth/AByUhiAu7RxYG9qMQ3w0FvlfGjpRT6izks5t4VedgaJpZM4RmiWq .

antoniobrandao commented 6 years ago

I stopped using MERN because it wasn't fit for Production in my case. I don't need Webpack code in my server code - also it's a shared server where I don't have permission to install global NPM modules like Webpack, which made it simply impossible for me to deploy MERN. After building the whole project with MERN, sadly I had to revert everything to a simple express.js + "create-react-app" setup.

Would be great if you guys could come up with a more "purist" approach to the server-side production deployment. Without Webpack stuff in the server code at least.

mannyhenri commented 6 years ago

@fazlerocks others who offered to help: @ashifa454 @AndrewBestbier @the-bionic @russellr86 @zakpgrove @alexandru-tomescu

mannyhenri commented 6 years ago

@abinavseelan and All, as soon as we've got a roadmap with specific milestones and labels we'll remove this issue to clean up and get a specific and granular list of issues focused on building the roadmap. Note to all!

cosmicbuffalo commented 6 years ago

I've been hoping for this project to come back to life for a while now. Happy to help out and looking forward to seeing the new roadmap!

mannyhenri commented 6 years ago

All, I've started working on the board, milestones, labels and new tasks towards V2.5 which will be our next version adding React V16.x. I'm going through all the PRs and issues and will categorize them accordingly. Also I will close this issue to keep the repo issues and PRs clean and focused! Thanks all for your comments we're on our way.

mannyhenri commented 6 years ago

@AndrewBestbier if you want to take a look at #342 let me know.

mannyhenri commented 6 years ago

For anyone contributing or willing to:

We have now an official agile board for tracking progress through our tasks towards V3.0.0. We'll do more updates with interim versions and if you're curious what each will bring look at the milestones and/or labels.

How we track issues

Each issue will be labeled and assigned a milestone. If the task/issue/bug doesn't track towards a specific goal then it will be marked into Futures. Each below versions will be officially tested and merged into the official repo and available for all to enjoy when ready. Needless to say, if there are any bugs they will have priority over upgrading code or dependencies. We want a stable MERN as we move up the versions.

We are tracking towards V3 with the following milestones:

How to participate

If you want to help, request @fazlerocks to add you to the contributors and we'll gladly assign you a task. We are currently catching up and moving as fast as we can to bring all the goodies and any help will be welcomed. Thanks in advance to all that are willing and working on this repo.

mannyhenri commented 6 years ago

@fazlerocks can you add @AndrewBestbier to contributors?

fazlerocks commented 6 years ago

@AndrewBestbier added you. Please follow the invite link to get started.

alexandru-tomescu commented 6 years ago

I'm not a ninja yet, but i have good experience with all these technologies and i want to do some tasks to help you in my free time. Waiting for you guys :)

mannyhenri commented 6 years ago

Awesome @alexandru-tomescu ! Could you pull and test branch 2.4.0? See if everything works on your end. We are planning to merge it into master so the more heads that test it before the better!

alexandru-tomescu commented 6 years ago

yes @mannyhenri, seems everything ok, only some deprecations warnings, but no errors.

alexandru-tomescu commented 6 years ago

i think a slack channel would be useful :)

mannyhenri commented 6 years ago

we have one @fazlerocks could you add @alexandru-tomescu to contributors and slack!

mannyhenri commented 6 years ago

All...V2.4 has been pushed to master!!! Take a look at the Readme file for changes, etc.

ashifa454 commented 6 years ago

I also want to contribute in V3, please let me know if there is something I can contribute with.

mannyhenri commented 6 years ago

Alright @ashifa454 @alexandru-tomescu @cosmicbuffalo @jayarnielsen @AndrewBestbier @rosariorussell now that version 2.4 is out we're moving on to 2.5, the cool update to React V16.x and proptypes. Do you want to help out? If so let me know I'll tag you for the task and we'll talk.

alexandru-tomescu commented 6 years ago

yep, @mannyhenri. Waiting for you :)

ashifa454 commented 6 years ago

Yaa @mannyhenri. I am in.

mannyhenri commented 6 years ago

@fazlerocks could you add @ashifa454 and @alexandru-tomescu to contributors and slack?

mannyhenri commented 6 years ago

ALL -> mern-cli has been updated to 2.5.0:

ashifa454 commented 6 years ago

@mannyhenri i have installed React 16.4.0 and Migrated under 2.5.0 branch.

mannyhenri commented 6 years ago

Awesome! @ashifa454 could you create a PR and we'll take a look at it?

ashifa454 commented 6 years ago

@mannyhenri I am having some problem with react-router let me sort this out then I will create a PR. in the meantime can you please introduce me to the slack-channel.

mannyhenri commented 6 years ago

@ashifa454 if you're trying to add react-router 4 right away, it might be better to postpone updating react-router as it will introduce many changes to the repo and might be a lot for a one man job. The plan is to get React 16.x and proptypes fix for 2.5, and leave React-router for V2.8. However, I'm not going to stop anyone if they're willing to tackle it all at once, but could be a pretty big task considering...just my 2 cents. Always best to tackle small pieces at a time ;)

For the introduction, @fazlerocks owns both the repo and slack channel and should get you in when he's got a chance.

ashifa454 commented 6 years ago

@mannyhenri I have two confusions if you could help me with, so I migrated react 16 and propTypes, but it seems like react- router will need the earlier react, which include the PropTypes. screen shot 2018-06-08 at 7 07 40 am

mannyhenri commented 6 years ago

@ashifa454 ok and thanks for your work on it. I'll take a look at your PR tomorrow, and provide feedback. Most likely we'll end up merging to a separate branch and continue working on it.

ashifa454 commented 6 years ago

@mannyhenri thankyou.

ashifa454 commented 6 years ago

@mannyhenriI am getting an error while test, and it's possibly because of enzyme V3.x Migration screen shot 2018-06-09 at 12 54 42 am

https://github.com/airbnb/enzyme/issues/1106

mannyhenri commented 6 years ago

@ashifa454 have you had a chance to work further with the integration of React 16/proptypes?

mannyhenri commented 6 years ago

@alexandru-tomescu @cosmicbuffalo @jayarnielsen @AndrewBestbier @rosariorussell any of you have some cycles to work on integrating React 16/proptypes? FYI most of the work will constitute in updating routes and most likely might end up updating also React-router to V4. Let me know.

mannyhenri commented 6 years ago

@alexandru-tomescu feel free to do a PR if you've worked on it! ;)

ashifa454 commented 6 years ago

@mannyhenri sorry I had some college exams but I am continuing it from today, also I have some silly doubts to clear, so will this discussion panel would be a place or should I mail you?

mannyhenri commented 6 years ago

@ashifa454 you can either use this or create a new issue where we can discuss further.

ashifa454 commented 6 years ago

I installed React 16.4.0 , Proptype (as separate NPM dependency https://www.npmjs.com/package/prop-types) and Changed Files accordingly Now while Starting project I am getting an error

if those both problems and its explanation in place, so think we need to update react-router alongside with migrating it to react-16, otherwise guide me from here to the right path.

mannyhenri commented 6 years ago

@ashifa454 you are right, we'll need to update React-router so let's head towards doing this. If you have cycles to work on this go for it, @mattlubner will help out this weekend. Also, feel free to take a look at #348 for references.

ashifa454 commented 6 years ago

I am on it @mannyhenri, I have some ways to integrate it, let me give it a try and surely I will be needing help @mattlubner.

mattlubner commented 6 years ago

@ashifa454 I'd suggest starting with upgrade/mern-v2.5.0 and updating to react-router v4 first, get that working, commit, and then tackle react v16.

AlnoorKhan commented 6 years ago

@fazlerocks I would like to contribute for this project. Please add me.

qiepeipei commented 6 years ago

@abinavseelan I would like to contribute for this project.

mannyhenri commented 6 years ago

All, we won't be adding new contributors for the time being, but feel free to create PRs and we'll add your names to the participating folks when we announce the new versions.

pedrofurtado commented 6 years ago

I'm looking forward to this new release! 👍

mannyhenri commented 6 years ago

Of all the names below, who can help drive MERN 3.0 home? We'd like to be able to release this before the new year!!!

@pedrofurtado @qiepeipei @mattlubner @AlnoorKhan @ashifa454 @alexandru-tomescu @cosmicbuffalo @jayarnielsen @AndrewBestbier @rosariorussell , please let me know if you can help.

ashifa454 commented 6 years ago

I am on it.

On Sun, Oct 14, 2018 at 3:55 PM Manny Henri notifications@github.com wrote:

Of all the names below, who can help drive MERN 3.0 home? We'd like to be able to release this before the new year!!!

@pedrofurtado https://github.com/pedrofurtado @qiepeipei https://github.com/qiepeipei @mattlubner https://github.com/mattlubner @AlnoorKhan https://github.com/AlnoorKhan @ashifa454 https://github.com/ashifa454 @alexandru-tomescu https://github.com/alexandru-tomescu @cosmicbuffalo https://github.com/cosmicbuffalo @jayarnielsen https://github.com/jayarnielsen @AndrewBestbier https://github.com/AndrewBestbier @rosariorussell https://github.com/rosariorussell , please let me know if you can help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Hashnode/mern-starter/issues/344#issuecomment-429613227, or mute the thread https://github.com/notifications/unsubscribe-auth/AM_eU8agZlzgRL1DlVu-Bzdnq-ap1vt2ks5ukxEngaJpZM4RmiWq .