mern-starter icon indicating copy to clipboard operation
mern-starter copied to clipboard

MERN v3.0.0 πŸš€

Open abinavseelan opened this issue 7 years ago β€’ 108 comments

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:

  • [x] Out of the box Yarn support
  • [x] Bring base Node version to v8.x LTS, for all that async-await goodness πŸ˜‹
  • [x] Upgrade to Webpack 3 and move to babel-preset-env
  • [x] Migrating to React 16.x
  • [x] Moving from React Router v2 to v4
  • [ ] Have a simpler workflow so that you can start your project(s) with much more ease!

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

abinavseelan avatar Jan 22 '18 11:01 abinavseelan

Can we list "decrease start-up time while in development mode" as an official objective? The last point ("Have a simpler workflow so that you can start your project(s) with much more ease!") is a bit vague, and I'm not sure of what that means. It is currently very painful to do server side development in Mern (due to slow restarts), but I would like to see that change!

It would also be lovely to explore using a node require hook to potentially cache-bust JSX on the server side, or really any other way to eliminate the divergence that comes after many code changes, which require server restarts.

I would love to be more involved with and contribute to the Mern community, so please let us know how. Very happy to finally see activity here! πŸ˜€

mattlubner avatar Jan 22 '18 16:01 mattlubner

Hey @mattlubner!

The point "Have a simpler workflow so that you can start your project(s) with much more ease!" is more of an umbrella term for things the community needs or might need to help in their development workflow. Once we've aggregated a list of things, we'll update the issue to highlight the specifics that you'd see in v3.0. This includes reducing server startup time, of course! πŸ˜„

Thanks for the suggestions! πŸ™‚

abinavseelan avatar Jan 23 '18 05:01 abinavseelan

Hi. You could add also a graphql implemententions, /gql/endpoints, this would be great !

alexandru-tomescu avatar Jan 23 '18 07:01 alexandru-tomescu

ready to use graphql crud with apollo would be realy nice

chrisLovesCode avatar Jan 24 '18 08:01 chrisLovesCode

graphql is a example πŸŽ‰

carloscuatin avatar Jan 24 '18 16:01 carloscuatin

I am sorry if this might be a little bit out of topic. But why MERN stack build time is much higher than MEAN (in server post-modified rebuild). This is quite time consuming.

lordknight1904 avatar Jan 29 '18 07:01 lordknight1904

@lordknight1904 We're actually looking into this and trying to revamp the build pipeline with v3.0. πŸ™‚

@carloscuatin @chrisLovesCode @alexandru-tomescu

GraphQL sounds pretty exciting! We'll evaluate this and see how we can integrate GraphQL into MERN, without bloating the user experience for users who don't want it.

We have a couple of ideas on how we can manage this, and we're currently floating them around the office to get opinions. πŸ˜„

abinavseelan avatar Jan 29 '18 11:01 abinavseelan

@abinavseelan option flag with the mern-cli πŸ‘

how can we help in the new version of mern ?

carloscuatin avatar Jan 30 '18 08:01 carloscuatin

When can we expect new version of MERN ?

kamalkrishna3000 avatar Jan 31 '18 14:01 kamalkrishna3000

Maybe add a default landing page.

lordknight1904 avatar Feb 01 '18 11:02 lordknight1904

Can we start using the 3.0 branch? Cause we have a project that needs to kickstart now and may just use the latest version of MERN.

lucaskuan avatar Feb 05 '18 04:02 lucaskuan

@lucaskuan

Hey! πŸ‘‹

I'm sorry. But it's not yet at a stable state to use I'm afraid. 😞 We are doing our best to see this version out as soon as a possible!

abinavseelan avatar Feb 06 '18 17:02 abinavseelan

Would love to have swagger/jsdoc support

v29neil avatar Feb 06 '18 19:02 v29neil

@abinavseelan I see, looking forward to have it ready. Will there be a huge migration trouble from 2.0 to 3.0? Any tasks that we could contribute to make it happen faster?

lucaskuan avatar Feb 07 '18 02:02 lucaskuan

How can I store image using this repo?

TeodorKolev avatar Feb 15 '18 19:02 TeodorKolev

pm ERR! Failed at the [email protected] start script 'NODE_ENV=production ./node_modules/.bin/nodemon server/index.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the mern-starter package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! NODE_ENV=production ./node_modules/.bin/nodemon server/index.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs mern-starter npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls mern-starter npm ERR! There is likely additional logging output above.

TeodorKolev avatar Feb 17 '18 13:02 TeodorKolev

My 4 suggestions:

  • Ability to use decorators, eg. @connect for Redux.
  • Make the style loader compatible with both SASS and SCSS syntax.
  • Include something in the development config like xip.io or browserSync, which serves the site in the local network so we can test on our mobile devices.
  • ESLinter config based on Javascript Standard Style.

antoniobrandao avatar Feb 25 '18 17:02 antoniobrandao

All the suggestions above are great but I'd suggest you focus on the main improvements/upgrade such as React V16+, Router V4, Yarn support and webpack latest versions and build other ideas as extensions. This way build times will be shorter and also GTM faster.

mannyhenri avatar Feb 27 '18 20:02 mannyhenri

Webpack 4 is out. Build performance is so much faster it's worth a look.

antoniobrandao avatar Feb 28 '18 02:02 antoniobrandao

I hope in big MERN update, the official web page will use React. πŸ’ƒ πŸ˜„ πŸ˜…

MiloshN avatar Mar 01 '18 20:03 MiloshN

Is this project still active? Haven't seen any commits or PRs merged since a month... Is any other branch being used?

ajile-in avatar Mar 02 '18 18:03 ajile-in

Waiting for this...

mm420admin avatar Mar 15 '18 00:03 mm420admin

I'm also waiting for this and very excited, any updates on progress? @abinavseelan, Thanks!

russellr922 avatar Apr 01 '18 22:04 russellr922

What about this param for installation? --scripts-version=tsx or jsx

m-podlesny avatar Apr 09 '18 13:04 m-podlesny

I'm also waiting for this and very excited, any updates on progress? @abinavseelan, Thanks!

AugustAtSeattle avatar Apr 16 '18 20:04 AugustAtSeattle

Looking forward to trying this out πŸ‘

AndrewBestbier avatar Apr 17 '18 13:04 AndrewBestbier

MERN full-stack project as a boilerplate, with all best practices implemented out of the box and latest up-to-date components/modules, including the possibility to easily put-in your own preferable modules sounds so nice! But, looks too good to be true :)

coderbit-net avatar Apr 25 '18 12:04 coderbit-net

Yes, at least an update on progress would be amazing :)

myarete avatar Apr 25 '18 15:04 myarete

How's the work on version 3 going? Will it, also, support JSX files?

gabimoncha avatar May 22 '18 06:05 gabimoncha

It looks dead to me. I'd like to contribute as soon as I graduate

russellrosario avatar May 22 '18 11:05 russellrosario