An open API service indexing awesome lists of open source software.

https://github.com/muradisazade777/form_forge

FormForge is a modular TypeScript-based form engine that dynamically renders and validates forms using JSON configuration. Designed for CLI environments and backend workflows, it offers clean architecture, strict typing, and customizable validation logic β€” all without UI dependencies.
https://github.com/muradisazade777/form_forge

backend json json-server library modules results server testing typescript

Last synced: 9 months ago
JSON representation

FormForge is a modular TypeScript-based form engine that dynamically renders and validates forms using JSON configuration. Designed for CLI environments and backend workflows, it offers clean architecture, strict typing, and customizable validation logic β€” all without UI dependencies.

Awesome Lists containing this project

README

          

# 🧩 FormForge

**FormForge** is a lightweight, TypeScript-based form engine that dynamically renders and validates forms using JSON configuration. Built for clarity, modularity, and developer control, FormForge is ideal for CLI-driven form logic, backend validation, or integration into larger TypeScript ecosystems.
---

## πŸš€ Features

- βš™οΈ JSON-driven form structure
- βœ… Field-level validation with custom rules
- πŸ“¦ Clean TypeScript architecture (no UI dependencies)
- πŸ§ͺ Simple test suite for validation logic
- πŸ“ Modular folder structure for scalability
---

## πŸ§ͺ Run & Test
bash
npm run start # Executes src/index.ts
npm run test # Runs validation tests
---

## πŸ“„ JSON Configuration

Define your form fields in `src/data/form-config.json`.

Example configuration:

```json
{
"fields": [
{ "name": "email", "type": "email", "required": true },
{ "name": "age", "type": "number", "min": 18 }
]
}
```

## πŸ”§ Use Case
1. FormForge is ideal for:

2. Backend form validation

3. CLI-based form rendering

4. Static form generation pipelines

🟒TypeScript-first projects requiring structured input logic
---

## πŸ“¦ Installation

```bash
npm install
```
πŸ“£ Author
Built by Murad β€” full-stack architect with a passion for clean code, branded structure, and cyber-inspired development.