DEV Community

Ameer Jhan
Ameer Jhan

Posted on

How often do you scaffold a new Web app from scratch and does that irritate you?

Please comment how often you scaffold a fresh web project some scratch and does that irritate you to do everything from scratch and do you have any tools to avoid that

Top comments (12)

Collapse
 
eavichay profile image
Avichay Eyal

Every time. Many times copy paste parts of previous projects plus modifications.

Most of the code I write is javascript outside frameworks, thus the need to do the bootstrapping myself.

Btw, it's not irritating it's fun.

Collapse
 
hixdevs profile image
hix.dev

As a team, we had to do this too often. With every new project, it was getting more frustrating and felt like an utter waste of our time we were spending on configuration rather than solving the actual problems.

This lead us to creating Hix - a setup wizard injected into every new Ruby on Rails project flow.

So if you are thinking for doing something similar - highly recommended.

Collapse
 
darraghor profile image
Darragh O'Riordan • Edited

check out

yeoman - yeoman.io/
Cra templates - create-react-app.dev/docs/custom-t...
Dotnet new templates - docs.microsoft.com/en-us/dotnet/co...

Or higher level...

Bullet train - bullettrain.co/
Keystonejs - keystonejs.com/

Collapse
 
ameerthehacker profile image
Ameer Jhan

IMHO this would give us a fixed set of templates and we do lose the fine grained control on what we want and we dont

Collapse
 
darraghor profile image
Darragh O'Riordan

yeoman.io/authoring/user-interacti...

It might not match what you want/need but you can ask the user to choose options and that is regularly used by template creators to allow fine grained control on output for things like technology options.

Sounds like you already have an idea for something though:)

Thread Thread
 
ameerthehacker profile image
Ameer Jhan

Yup, will share once I make some progress on it

Collapse
 
nesci28 profile image
Mark Gagnon

We were loosing a lot of time creating new Angular Apps at work and sometimes the newly generated app was already out of date when it was made by someone who didnt do his updates. So, I created a CLI App that generates a new project based on the answers of the user.
npmjs.com/package/angular-creator

Collapse
 
thedevdavid profile image
David

I've created a boilerplate for myself for this. Every webapp/PWA project needs almost the exact same base. Do you have a better solution maybe?

Collapse
 
ameerthehacker profile image
Ameer Jhan

Not sure, if we can build a universal scaffolder where you just say what library, transpiler only with few config you care and it does all the heavy lifting

Collapse
 
pitson3 profile image
Pitson Josiah MWakabila

I often do that as I haven't yet figured the way out. However, it becomes so irritating and boring due to all of the configurations that might be involved. What is your idea?

Collapse
 
ameerthehacker profile image
Ameer Jhan

Not sure, if we can build a universal scaffolder where you just say what library, transpiler only with few config you care and it does all the heavy lifting

Collapse
 
ameerthehacker profile image
Ameer Jhan

So what do you do when you start a new web project