Know a little bit of TypeScript? You can build mobile apps!
Usually, developing mobile apps requires extensive programming skills. With Feld, you can build mobile apps with a few lines of TypeScript code. And using the Feld CLI, it's super easy to get started.
npx feld init
in a command line interface to get started.import * as feld from "@feldapp/base";
const app = new feld.App("Tiny CRM", {
description: "A very simple CRM app",
});
app.addTab(
new feld.Tab("home", {
name: "Home",
type: feld.TabType.Content,
icon: "home",
content: "Welcome to **Tiny CRM**",
})
);
app.addObject(
new feld.Obj("account", {
name: "Account",
attributes: {
name: {
name: "Name",
type: feld.AttributeType.String,
mock: () => feld.mock.company.name(),
},
type: {
name: "Type",
type: feld.AttributeType.Enum,
values: { profit: "For profit", nonProfit: "Non-profit" },
mock: () => feld.mock.fromArray(["profit", "nonProfit"]),
},
public: {
name: "Public",
type: feld.AttributeType.Boolean,
mock: () => feld.mock.fromArray([true, false]),
},
},
generateMockItems: 10,
})
);