0.2.7 • Published 1 year ago

frontlessjs v0.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Frontless-js

Installation

Install Bun if not installed.

curl -fsSL https://bun.sh/install | bash

Create a directory, and initialize your project.

mkdir myserver
cd myserver
bun init

Install frontlessjs.

bun add frontlessjs

Hello World

Create a index.ts in your project

// index.ts
import frontless, { type Widget } from "frontlessjs"
import { text } from "frontlessjs/material"
const app = frontless()
app.page("/", async (): Promise<Widget> => {
      return text("Hello World!")
})
app.listen(3000)

Run your app.

bun index.ts

Then visit localhost:3000 in your browser to see the page!

What's next

Doc&Examples: https://www.frontless.dev/

0.2.7

1 year ago

0.2.6

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.4

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago