Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

marceline

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marceline

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

  • 0.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
0
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 03 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc