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.
- Host: GitHub
- URL: https://github.com/muradisazade777/form_forge
- Owner: MuradIsazade777
- License: other
- Created: 2025-09-24T13:30:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-24T14:21:10.000Z (9 months ago)
- Last Synced: 2025-09-24T15:33:15.016Z (9 months ago)
- Topics: backend, json, json-server, library, modules, results, server, testing, typescript
- Language: TypeScript
- Homepage:
- Size: 5.13 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.