engine

Generate your web application from a simple configuration. We are building a powerful engine allowing the complete development of a web application from a JSON configuration file.

OTHER License

Downloads
2K
Stars
11

Safidea Engine - Web App Generator

Safidea Engine is a API to generate web app, fast and easy. With a configuration file, you can create a full stack application.

Getting Started

Pre-requisites

You should have Node.js 22 or higher installed on your machine.

Installation

In a node project, install the engine with npm:

npm install @safidea/engine

Usage

Then, create a startup file, for example index.js:

import App from '@safidea/engine'

const app = new App()
const url = await app.start({
  name: 'Website',
  pages: [
    {
      name: 'Home',
      path: '/',
      body: [
        {
          component: 'Title',
          text: 'Hello world!',
        },
      ],
    },
  ],
})

console.log(`Server started at ${url}`)

Finally, run the startup file with node:

node index.js

Configuration

A configuration is a JSON representation of the application. It contains the tests, pages, tables, automations, database, etc...

You can see the full JSON schema documentation here.

Templates

You can open our templates to see how to configure the engine and to start from models.

Contributing

Safidea Engine is built and maintained by a small team – we'd love your help to fix bugs and add features!

You can read our contributing guide here and our code of conduct here.

License

Safidea Engine is BSL 1.1 licensed.