Skip to main content

🌟 Introduction

Warlock is a powerful Node.js framework designed to simplify the development of APIs and web applications. Built on top of Fastify and MongoDB, it offers a seamless development experience.

Highlighted Features

  • ⚡ Blazing fast performance.
  • 🔄 Hot Module Reload (MHR) for an incredibly fast development experience.
  • 📡 Event-Driven Architecture.
  • 🔄 Automatic Import of Events, Routes, and Localization.
  • 📊 Effortless management of API requests, routes, and responses.
  • ✉️ Mail Support with React Components.
  • 🧠 Redis Cache Support.
  • 🗂️ Module-Based Architecture.
  • 🚀 Entry Point (main.ts) for each module.
  • 🔒 Route-Based Middlewares with groups.
  • 🌍 Internationalization Support (i18n).
  • 📁 File uploads with image compression and resizing.
  • ☁️ AWS Upload Support.
  • 📜 Postman Generator for API Documentation.
  • 🗃️ Repositories using the Repository Design Pattern for managing database models.
  • ✅ Easy and comprehensive request validation.
  • 🌐 RESTful API support with a single base class for each module.
  • 👥 User Management and Authentication using JWT.
  • 🔄 Map Model data for responses using Outputs.
  • ⚙️ Automatic Configuration Management.
  • 🗄️ Full Support For MongoDB backed by Cascade.
  • 🛠️ Generator Z: A VS Code extension to generate modules, request handlers, response outputs, database models, RESTful classes, and repositories.

The Backend For Frontend (BFF)

When Warlock was designed, its primary focus was to ensure ease of use for frontend developers, minimizing the need for in-depth backend knowledge. This approach accelerates frontend application development, enabling teams to proceed without being dependent on backend progress.

By leveraging Warlock, frontend developers can expedite their workflow and deliver high-quality applications swiftly, without having to wait for backend tasks to be completed. This framework streamlines the development process, empowering frontend teams to work autonomously and efficiently. 🚀