@safidea_/engine
TypeScript icon, indicating that this package has built-in type declarations

0.31.2 • Public • Published

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 20.11.1 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @safidea_/engine

Weekly Downloads

173

Version

0.31.2

License

BSL 1.1

Unpacked Size

1.22 MB

Total Files

955

Last publish

Collaborators

  • thomas_safidea