Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Строительные блоки и утилиты

Строительные блоки и утилиты

Создание CRUD-приложения на Redis с HTML-интерфейсом

При вызове его вебхуков добавляет, выводит, изменяет и удаляет элементы в Redis и отдаёт HTML-интерфейс, образуя самодостаточное приложение.

Что делает

# Build a Redis-Powered CRUD App with HTML Frontend This workflow demonstrates how to use n8n to build a complete, self-contained CRUD (Create, Read, Update, Delete) application without relying on any external server or hosting. It not only acts as the backend, handling all CRUD operations through Webhook endpoints, but also serves a fully functional HTML Single Page Application (SPA) directly via a webhook response. Redis is used as a lightweight data store, providing fast and simple key-value storage with auto-incremented IDs. Because both the frontend (HTML app) and backend (API endpoints) are managed entirely within a single n8n workflow, you can quickly prototype or deploy small tools without additional infrastructure. This approach is ideal for: - Rapidly creating no-code or low-code applications - Running fully browser-based tools served directly from n8n - Teaching or demonstrating n8n + Redis integration in a single workflow ## Features - Add new item with auto-incremented ID - Edit existing item - Delete specific item - Reset all data (clear storage and reset autoincrement id) - Single HTML frontend for demonstration (no framework required)

Шаги

  1. Hook: Get Items
  2. Hook: Add Item
  3. Add Item
  4. GetID
  5. Hook: Edit Item
  6. Hook: Delete Item
  7. Delete Item by Id
  8. Hook: Reset
  9. Loop Over Items
  10. SET API URL
  11. Format as JSON
  12. Get All Items
  13. Format the Items
  14. Update the item

Всего шагов: 19.

Похожие автоматизации