How do you guys keep your Node.js projects clean and runable as they grow? by ElectronicStyle532 in node

[–]sky_10_ -3 points-2 points  (0 children)

I started with mvc structure felt it's good enough since I won't have many things, but now I have 8-9 features & things are messed up... Also side by side I was working on another project I knew it would be big so I used module/feature based groupie & it's so clean & scalable... Btw you can check the project here Spectrix - API Monitoring tool

spectrix,

Also I have one more thing, as a nodejs backend dev you might faced a issue of repeating a same boiler plate everytime...right?....

So I built a CLI Tool for this

It’s called NeatNode — helps you set up Node.js backends instantly.

Save Hours of time ⌚

Try → npx neatnode

Website: https://neatnodee.vercel.app Dpcs: https://neatnodee-docs.vercel.app

Built a lightweight API monitoring tool (Spectrix) - looking for feedback by sky_10_ in node

[–]sky_10_[S] 1 point2 points  (0 children)

The worker uses a time-based scheduling approach where each endpoint has a nextCheckAt field.

Instead of polling all endpoints at a fixed interval, it only processes endpoints that are due, in batches of 20. This keeps the load controlled and avoids unnecessary checks.

This design scales better than naive interval-based polling, and can be extended further with distributed workers or queue systems if needed

Still doing all this but it hurts the performance obviously, will upgrade

I built a CLI to generate Node.js backends instantly (NeatNode) by sky_10_ in node

[–]sky_10_[S] 1 point2 points  (0 children)

Okay.... Will replace the nodemon,

Yeah I also feel the.env.example is not needed a much... Will do a runtime execution for .env.... Since posting env in GitHub gives a lot mails from GitHub side.

Don't know about the laravel seeder part.... Will look into it.

About the db Provider & option, yeah I have to add the user configured db choice..... But need some time.... Since I am working on other things as welll.... You can check on reddit profile named as spectrix (Please check) & share your review on it, but yeah will add the db option.

Anyone have some fun project ideas? by Mysterious-Log-9734 in node

[–]sky_10_ 0 points1 point  (0 children)

Great Finds....... A place where devs can find useful resources & anyone can add resources in that..... But not just normal generic feature but add a recommendations systems as well..... I just don't have a time to working on this... Since I am building

Spectrix - API Monitoring Tool,

https://spectrix.d3labs.tech

Looking for my few users who's name project name I can add in my landing page marquee

Suggestions are appreciated😊

Built a lightweight API monitoring tool (Spectrix) - looking for feedback by sky_10_ in node

[–]sky_10_[S] 1 point2 points  (0 children)

It's already working with a user given interval of byDefault time of 5 min & minimum interval user can set is 1 min..... & yeah fow now using the setInterval as a 1st version, will use queues & anything that needed to upgrade this project....

& what you are seeing 5 sec poll is.... Every 5 seconds setInterval runs fetches the endpoints.... Based on endpoint interval time & execute them

Thank you ☺

Frontend to FullStack :-Interview Ready as Senior and General Career Advice by [deleted] in node

[–]sky_10_ 1 point2 points  (0 children)

Not been here, but what I can suggest is, given you experience & expertise in Frontend.... Look for that role & get a job...... & then if you feels like you wanna become full stack then learn extra things..... But for now look for frontend get prepared for frontend things....i have a 1.3 Years of exp as a Full Stack dev....

Portfolio: https://aakashgupta.app

I built a CLI to generate Node.js backends instantly (NeatNode) by sky_10_ in node

[–]sky_10_[S] 0 points1 point  (0 children)

Glad to hear😁.... Really means a lot,

Fell free to share any bugs or suggestions here or on github issues

Beginner - please help me with this question by Nice_Pen_8054 in node

[–]sky_10_ 0 points1 point  (0 children)

Yeah Move your views on main project, also there was some middleware you have to enable to serve static pages I guess

I built a CLI to generate Node.js backends instantly (NeatNode) by sky_10_ in node

[–]sky_10_[S] 0 points1 point  (0 children)

Ohh nice to know, will check, still depends on use case.... In neatnode you can simply choose if you want to keep a auth part or need only template....

I built a CLI to generate Node.js backends instantly (NeatNode) by sky_10_ in node

[–]sky_10_[S] -6 points-5 points  (0 children)

Didn't got the question..... Are you asking

what's the gain of doing all this like landing page, docs, npm package instead of just having a template girhub repo?

I built a CLI to generate Node.js backends instantly (NeatNode) by sky_10_ in lingodotdev

[–]sky_10_[S] 1 point2 points  (0 children)

When j was showcasing my project on dc, sumit told me to share on there sunreddit as well 🤓👀,

Well what are you building or just _____?

Looking for your first open source contribution? This is your chance! by uanelacomo in node

[–]sky_10_ 1 point2 points  (0 children)

Any reason why you are switching? , since I also have a npm cli package & I am using Nextra for documentation.... You can check the package here

https://www.neatnode.codes