News for hackers. Stuff that matters.
Re:How I write back ends by williamdclt on Wednesday January 22, 2020 @06:05AM (#22116422)
I've worked a lot on this sort of thing in my company, as we spawn new projects every few weeks. We went from 4 days to deploy a fully-functioning Django+React+CI on AWS to literally 30min (much of it just waiting) using similar approaches.

And now we have the same thing for API Platform, NestJS, Vue, NextJS... Even React-Native with Fastlane and CodePush :) It's been invaluable, and a very strong commercial argument

Re:How I write back ends by edelans on Wednesday January 22, 2020 @09:59AM (#22118031)
What kind of company that spawns new projects every few weeks are you working for ? This sounds cool =)
Re:How I write back ends by say_it_as_it_is on Wednesday January 22, 2020 @06:47AM (#22116694)
The situation isn't clear to me. What changed that lead to more productive deployments?
Re:How I write back ends by williamdclt on Wednesday January 22, 2020 @07:18AM (#22116869)
Using templates, boilerplates and generators.

Creating a new project is simply "make generate" from our generator, then answering a bunch of questions about what tech stack you need. This works mostly with templating (using Plop) and a sprinkle of automation for shell tasks (eg `pipenv install`)

Re:How I write back ends by say_it_as_it_is on Wednesday January 22, 2020 @07:31AM (#22116932)
Thanks for clarifying. What used to take 4 days to set up a new server can now be done in <1hr. How often is that being taken advantage of? "Any time we need a new server" is determined by a policy determining whether to bolt onto additional servers or not. Curious about that policy..
Re:How I write back ends by jwdunne on Wednesday January 22, 2020 @05:13PM (#22122630)
Is your generator hand rolled or do you use something in particular? We’re working towards a similar solution where we want to layer/compose different tech choices based on what’s mandated by project requirements!