Some of my open source projects
staticdeploy: an open-source platform for deploying static appsProject homepage
- SQLite / PostgreSQL
- AWS S3
I’ve been thinking about this project since late 2015, but it was not until two years later that I started seriously working on it. The project scratches two itches of mine:
- being able to configure at runtime (as opposed to build time) static websites and applications
- being able to deploy every branch (or every commit) of a static app, making it easy to show a developer’s work in progress to their client / product owner
Some technical highlights of the projects are:
- written in TypeScript
- thoroughly tested
- sub-modules organized in a monorepo managed with Lerna
- non-trivial CI setup running on CircleCI
mock-server: easy to use, no frills http mock serverProject homepage
A mock server is an incredibly useful tool when developing frontend applications. There are many great open source mock servers, each with its own ideal use case, its pain points, and its compromises. mock-server is another one of them, employing a code-over-configuration approach and trading automation (developers have to write their mock endpoints’ logic) for flexibility (developers can write their mock endpoint’s logic).
convexpress: standardize your Express.js servicesProject homepage
How do you structure an Express project? How do you validate input parameters? How do you generate a Swagger definition for the implemented API? Express is a low-level framework, and these questions are purposefully left unanswered, allowing its community to come up with many solutions for many use cases. convexpress is one such solution, establishing a set of lightweight and straightforward conventions for structuring Express projects, and offering developers a series of facilities when they follow them.
asteroid: an alternative client for a Meteor backendProject homepage
create-fs-tree: create a filesystem tree from a definitionProject homepage
A Node.js library which allows to create (and destroy) a filesystem structure given a json definition. It’s intended to be used when testing code that deals with the filesystem, as a replacement for filesystem mocks that are often unable to reproduce all the odd behaviours of real filesystems.
env: a better way to retrieve environment variables in Node.jsProject homepage
There is no such thing as
.propertiesfiles in Node.js land, and services typically read their configurations straight from
process.env. env makes the process a bit less verbose, and a bit more safe.