Database + Magic == Angular Web app

Magic allows you to create your entire Web app by simply clicking two buttons. The first button will automatically create your backend, by wrapping your database tables into CRUD HTTP REST endpoints. The second button will create an Angular frontend for you, wrapping your previously created backend into an Angular Web application. Watch the following video for a demonstration of how Magic works.

How it works

Magic will read metadata from your database. It will use this metadata to generate an HTTP REST Web API for you, wrapping all CRUD operations inside of REST endpoints. Then it will use metadata from the REST API to automatically generate Angular components, router links, menu items, datagrids, etc. The end result becomes that before you’ve even had to create as much as a single line of code yourself, 90% of your job is already done.

The resulting frontend gives you a datagrid for all your database tables, allowing you to create, read, update and delete records in your database. It also automatically creates paging, sorting, and filtering for you - In addition to providing you with a very, very, very secure authentication and authorisation system.

Magic is built in .Net Core, and allows you to expand upon it with your own C# controllers easily. It’s a highly modular architecture, allowing you to intercept its core, using adapters and triggers. The Angular code also perfectly follows TSLint rules, making it highly readable and easily modified.


An example Magic CRUD app, with its nav bar expanded.

An example Magic CRUD app

How the datagrid looks like when viewing your records.

Viewing your database records in a datagrid

Editing a database record. Notice how it creates the correct components for your columns, based upon what the underlying data type of your table is. In this particular example for instance, we have a datetime-picker, because one of the table’s columns is a datetime.

Editing database records

Below you can see how the integrated authentication and authorisation components will look like. Notice, all passwords are securely stored using individual salting and hashed based upon the BlowFish hashing algorithm - Making the auth system extremely secure.

The integrated auth system

Magic also allows you to automatically create charts, based upon statistics endpoints, that returns some sort of aggregate function grouped by some column from your database. Below you can see an example from the Sakila database.

Automatically generate statistical charts

In addition to the above scaffolding features, Magic also contains a scheduler, allowing you to use your own domain specific programming language to declare your tasks. Watch the screenshot below for an example. Notice how you automatically get auto complete in the code editor, also for your own keyword extensions, as you declare your scheduled tasks.

Task scheduler


If you run Magic towards a database with ~100 tables, Magic will generate roughly 5.000 lines of backend code for you, in addition to 80.000 lines of frontend code. According to neutral research in the topic, an average software developer can produce ~750 lines of code per month. This implies that 5 seconds with Magic equals the productivity of a single developer for more than 9 years.

Of course, these types of comparisons aren’t fully fair some may argue, but there is no doubt that Magic will soar your productivity to unimaginable heights compared to having to manually create the equivalent project.

Maturity and security

Magic has been featured in MSDN Magazine with several articles, and is currently the only product not produced by Microsoft that is documented at the main website for .Net and .Net Core. You can find some of its articles below.

The main architect of Magic has researched Magic and its underlying ideas for more than a decade, and has been working and consulting for some of the largest financial trading broker firms on the planet - Some of whom are operating in markets moving 5.1 trillion dollars on a daily basis. Needles to say, but Magic is very, very, very secure. For some of these firms, Magic has saved millions of dollars in recruitment costs, while at the same time tightened security significantly.

Magic was also built using a TDD approach, and there are hundreds of unit tests in the project, that verifies the integrity of every possible course of code flow, whenever we apply change to its underlying code. Magic’s source code, has also been scrutinised by thousands of (human) developers, without being able to find any security holes in it.

Code quality and performance

A Magic application will outperform the equivalent Entity Framework solution with at least 5x in speed and throughput, making it scale at least 5 times as well as an Entity Framework solution. In addition, its generated code has an extremely high quality, and will for the most parts, perfectly obey by all coding standards, and/or automated tools that are measuring code quality - Such as for instance TSlint, etc. In neutral tests, Magic has shown to outperform the average (human) software developer by 3-4 times on code quality, using neutral and objective metrics measuring quality. This results in that your resulting Magic application is extremely easy to maintain and modify if the need should arise.


All components generated will be highly responsive, allowing you to consume your generated apps from your favourite phone, tablet, or computer - Regardless of your device resolution. But don’t believe us, try it out for yourself. Magic is free to use locally, and will only cost you a fee if you decide to deploy it unto a server. Magic also comes with professional support if you decide to use it commercially on your own server, if you need help with it somehow.

We realised there was a need for higher code quality, tightened security measures, and more automation in the enterprise software development space - So we released Magic to the public, allowing others to take advantage of the same quality improvements we could internally see within our own enterprise

Thomas Hansen, CEO at Server Gardens

Our promise

Magic is free to run over localhost, on your local development machine - But will cost you a fee of €2.495 if you choose to install it unto a server.


Documentation is automatically given to all whom somehow obtains a commercial license of Magic, and comes in the form of additional videos, not publicly available - In addition to written documentation sent to the email you use as you obtain a license.

Quid Pro Quo initiative

Server Gardens believes strongly in the value of Open Source and sharing knowledge. Hence, if you are an author writing technical articles for DZone, or similar websites, and/or you need a license for your Open Source Magic project, or to evaluate Magic - You can send an email to us at, and we might give you a free license, if you explain your project, and or your intentions to use Magic.

Download magic