0.0.30 • Published 4 months ago

marceline v0.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Marceline

A backend framework for fast backend application creation with auto-generation of admin panel.

It's basically a plugin for fastify that plugs into your prisma schema and creates a UI interface to interact with the data. All you have to do is customize the necessary forms and tables and your admin panel is ready to go

Required stack for use with this platform:

  • Fastify

  • Prisma

  • Vue3 (if you want to write add-ons to the interface)

Usage

Before launching, write schema.prisma so that the plugin can capture your database structure.

import fastify from 'fastify'
import { marceline } from 'marceline'
import { PrismaClient } from '@prisma/client'

const launchApp = () => {
  const app = fastify()

  const prisma = new PrismaClient()
  await prisma.$connect()
  app.decorate('prisma', prisma)

  await app.register(marceline, { root: '/admin/' })

  await app.listen({ port: 3000 })
}

launchApp()

Run this code and open browser page http://localhost:3000/admin/ - your admin panel is ready

0.0.20

7 months ago

0.0.21

7 months ago

0.0.22

7 months ago

0.0.23

7 months ago

0.0.24

6 months ago

0.0.25

5 months ago

0.0.16-a

8 months ago

0.0.16

8 months ago

0.0.17

7 months ago

0.0.19

7 months ago

0.0.30

4 months ago

0.0.26-a

5 months ago

0.0.27-a

5 months ago

0.0.26-b

5 months ago

0.0.27-b

5 months ago

0.0.26-c

5 months ago

0.0.26

5 months ago

0.0.27

5 months ago

0.0.28

5 months ago

0.0.29

4 months ago

0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.15

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.5

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago