清单:一个单文件微型后端
Manifest: A 1-file micro-back end

原始链接: https://github.com/mnfst/manifest

Manifest是一个轻量级的、单文件微型后端,非常适合需要核心后端功能(如身份验证、验证、存储和API端点)的简单项目。它针对80%的使用场景,避免了过度设计的解决方案带来的臃肿。 你可以把它想象成一个添加到代码库中的文件,用于快速原型设计(概念验证、最小可行产品)、微服务(通知、支付)、CRUD密集型应用程序或无头CMS设置。它提供了一个管理面板、动态端点、REST API和JS SDK。 例如,它可以轻松处理一个简单的宠物小精灵应用程序,其中包含像`Pokemon`(名称,类型[火、水、草、电],等级,以及所属的`Trainer`)和`Trainer`(名称,是否为冠军)这样的实体。 Manifest目前处于BETA版本,最适合小型项目。请通过收藏代码库、提供反馈、赞助或贡献来帮助它发展壮大。它是开源的(MIT许可)并在BrowserStack上进行了测试。

Hacker News用户正在讨论“Manifest”这个单文件微型后端项目。用户madduci称赞了该项目,但同时指出npm出现了过多的弃用警告。另一位用户mubou希望Manifest有一个前端配套程序,设想一个简单易用的数据库解决方案,类似于Access或Filemaker Pro,但拥有现代化的UI。Mubou概述了一个用例,涉及到用图片编目个人媒体库(书籍、蓝光光盘),强调需要一个快速、配置驱动的CRUD管理界面,用于非生产环境。帖子还简短地宣传了旧金山的AI创业学校。

原文

manifest manifest

The 1-file micro-backend

npm download npm CodeFactor Grade CI-CD Status badge Discord Support us License MIT jsdelivr

name: Pokemon app 🐣

entities:
  Pokemon 🐉:
    properties:
      - name
      - {
          name: type,
          type: choice,
          options: { values: [Fire, Water, Grass, Electric] }
        }
      - { name: level, type: number }
    belongsTo:
      - Trainer

  Trainer 🧑‍🎤:
    properties:
      - name
      - { name: isChampion, type: boolean }

Open in StackBlitz

80% of websites and apps only use the most basic backend features. Using over-engineered solutions lead to unnecessary costs and complexity.

Manifest keeps it simple, delivering only the essential backend features and smoothly integrating in your project like any other file in your codebase.

Manifest fits great in those type of projects:

  • 🛠️ Rapid prototyping: POCs and MVPs
  • 🧩 Micro services: notification, payment, logging, file services...
  • 🏭 CRUD-heavy apps: mobile apps, directories, PIMs, E-shops
  • 🌐 Headless CMS: dynamic corporate websites, portfolios, blogs...

Auth | Validation | Storage | Image resizing | Admin panel | Dynamic endpoints | REST API | JS SDK | Webhooks

Simply run this terminal command to add Manifest locally:

Note

Manifest is currently in BETA, use it at your own risk. It is stable enough to power small projects, prototypes and MVPs but we do not recommend to use it on critical platforms.

Want to help Manifest grow? 💗

Here is a few small things you can do:

  • Star the Manifest repository (this one)
  • Give us your feedback on Discord
  • Sponsor Manifest through OpenCollective

We welcome contributions to Manifest, Please see our Contributing Guidelines to get started and join the journey.

Thanks to our wonderful contributors!

Manifest is an MIT-licensed open-source project. If you find it useful and want to support its development, consider becoming a sponsor.

Frame 1587

manifest-backers


This project is tested with BrowserStack

联系我们 contact @ memedata.com