Life automation engineering

Life automation engineering In recent years I’ve spent more and more time trying to continuously optimize my daily routine. Fixing the pain points, and improving my productivity. At the end of the day, it’s all about freeing up more time and being able to focus more on what matters and what I like. As I was thinking about it, wrapping up 2022, I realized how aligned this life mindset is with my Automation engineering job’s principles....

December 22, 2022 · 18 min · Theo Penavaire

Step-by-step: Building a Node.js server (2021 edition) — Part 4/4 - Testing

If you want to use the server starter directly without going through the tutorial, find the code on Github. Link to the next parts are at the bottom of this page. In Part I to III we built a generic server with the help of Koa.js, GraphQL, MongoDB and Docker. Let’s add some tests with Mocha to make sure we don’t introduce regressions when we add more code. Requirements: Understanding why testing is important (😉)....

November 29, 2020 · 6 min · Theo Penavaire

Step-by-step: Building a Node.js server (2021 edition) — Part 3/4 - The API

If you want to use the server starter directly without going through the tutorial, find the code on Github. Link to the next parts are at the bottom of this page. In Part I and II we didn’t write much code. Time to write some boilerplate code, and to make our first queries to the MongoDB database through the GraphQL API. There’s no easy way to proceed step by step with this chapter, but everything will make sense at the end....

November 29, 2020 · 8 min · Theo Penavaire

Step-by-step: Building a Node.js server (2021 edition) — Part 2/4 - Docker

If you want to use the server starter directly without going through the tutorial, find the code on Github. Link to the next parts are at the bottom of this page. In Part I we built a basic Koa.js server with Typescript and improved our workflows with some tooling. The next step would be to set up a database to store and retrieve data. We will use MongoDB, a NoSQL database....

November 29, 2020 · 8 min · Theo Penavaire

Step-by-step: Building a Node.js server (2021 edition) — Part 1/4

If you want to use the server starter directly without going through the tutorial, find the code on Github. Link to the next parts are at the bottom of this page. I recently needed to build a server for a side project. Building the foundation to provide generic features any server is expected to deliver ended up being a new side project by itself! Today there are many great tools to build a robust and versatile back-end, and plenty documentation available....

November 29, 2020 · 8 min · Theo Penavaire