R
Reactiflux

Next-steps scaling up and expanding

Next-steps scaling up and expanding

SSadashi12/28/2022
Hey guys, so I wanted your opinion and seek some guidance on how to proceed with this issue For some background, I'm tech lead at this edtech company and we average 5k unique users per day and have been in the field for several years now. Our current codebase is razzle.js + mui + sass (and other frameworks to get it working), pages vary from landings, dashboards, admin panels, complete authentication pages, and a 'content viewer' thats a major application by itself. This current version has styles which are on a "whatever works works" basis b/w mui and sass, with components being re used by copy paste and updating rather than making a component and using an instance which also means making changes isn't easy. For our '23 roadmap, we've got many major additions planned which would literally more than double the complexcity of the whole application (its not small rn either), and I hope to make it as well strucutred, developer friendly and sustainable in the long term as I can. Since building on the current version is possible but as we keep on doing it it'll eventually reach a limit of chaos where it's v v v hard to expand on, a refactor there is months in itself. So, I want to make it more developer-friendly, consistent (in terms of css/components), for which I am very skeptical about what path to take. We even started a next.js migration a few days back but halted that since it dosen't feel correct and certainly needs more planning. This is where I need your guidance on how to proceed, and what all things to 'have' and follow as we grow.
UUUnknown User12/28/2022
6 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
(Currently it's mern, we're split into two environments where the frontend is razzle.js/mui/sass and backend is express/mongo/node) the frontend is what's in a chaotic state The 'side by side and redo' sounds like the best option now - ie after i decide on the frontend stack
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
The problem is the amount of code/styles and I'm skeptical because if we refactor it all just to realize a few months down it wasn't the best choice would be painful
UUUnknown User12/28/2022
3 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
That would be great Nextjs + tailwind + storybook components sound's like a good idea too
UUUnknown User12/28/2022
5 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
Will keep that in mind Yeah, rewrites are prolly easier than copy-paste and get it working
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
😂 but iirc Shouldnt v13 not break stuff unless you switch to the app directory?
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
I havent really looked much into the changelist Our current codebase can't get through its package.json without --force rn anyways, prolly never will 😦
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
It does-?
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
ahaha ill stay away from next13 for now 😂
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
true
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
I bet that broke everything
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
hahhaa literally
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
A lot of libraries out there say we'll only work with 16 or 17 but work so smoothly with 18 too
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
sucks
UUUnknown User12/28/2022
3 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
The founder (and ig my boss to say) is rushing our 23 roadmap and here I am telling him we wont be able to do anything for a month I SWEAR ITS SO ANNOYING
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
Like, gatsby is node 18 as you know and razzle is node 16 Everytime I switch im like nvm use this nvm use that frustrating
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
Touche.
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
And the newest changes every quarter
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
static html and js? I would love to but the app currently has 1200 urls in its sitemap and 1100 of them are hierarchy permission protected 😭 😭
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
I can't wait for an emp to wipe out all of the worlds tech Back to the good ol' stone age
UUUnknown User12/28/2022
Message Not Public
Sign In & Join Server To View
SSadashi12/28/2022
ahaha i miss those days Python + Flask + Bootstrap Now it's all so messy
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
well honestly HTML webpages will only be a thing for 7th grade in school the way we're progressing maybe one day students will learn nextjs as cs beginner programs
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
It's 3.30am - lets continue this chat tomorrow
UUUnknown User12/28/2022
5 Messages Not Public
Sign In & Join Server To View
SSadashi12/28/2022
idk svelte gives me fucked up jinja vibes gonna stay away from it
UUUnknown User12/28/2022
2 Messages Not Public
Sign In & Join Server To View
SSadashi1/7/2023
Yessir 200k users and we'll keep the security flows in mind, and yes our whole infrastructure in on aws split on eb, codepipeline, s3 and ec2s The fact that I've been programming for 4 years now helps me

Looking for more? Join the community!

R
Reactiflux

Next-steps scaling up and expanding

Join Server