Skip to content

enzoferey/business-logic

Repository files navigation

business-logic

Build Status

Decoupled, clean and well tested business logic.

Why

After working on numerous applications, I quickly found myself copy pasting chuncks of code from one project to another. Checking one more time how I solved that immutable modification on an array of objects.

Most of the time, all this logic is obfuscated by other lines of code around and/or highly coupled to the framework of choice or the project per se.

My intention with this repository is to provide decoupled, clean and well tested business logic that you can copy paste into your projects and have a starting point to build your app's specific logic.

Ultimately, the goal is to let people focus on bringing value to their project instead than on writing already solved problems.

How it works

The modules folder contains a set of different subfolders, one for each module. Each of them is self contained in its repository and has everything it needs to work. Copy paste the files and you are done !

Being the idea to provide out-of-the-box business logic working for every JavaScript project, the modules are written in TypeScript. You can find a JavaScript version of them in the dist folder. Be aware that they are not transpiled to vanilla JavaScript, you will still need to run babel on them.

Releases

No releases published

Packages

No packages published