Posts

Why Use Flask-Nova: Modern APIs on Top of Vanilla Flask Why Use Flask-Nova: Modern APIs on Top of Vanilla Flask If you love Flask but wish it had type hints, automatic OpenAPI docs, dependency injection, and better DX — Flask-Nova is for you. The Problem with Vanilla Flask Let’s say you want to build a simple JSON API with Flask. You’d probably write something like: from flask import Flask, request, jsonify app = Flask(__name__) @app.route("/greet", methods=["POST"]) def greet(): data = request.get_json() name = data.get("name") return jsonify({"message": f"Hello, {name}!"}) It works. But now imagine: You want to validate the request data. You want OpenAPI docs for your frontend team. You want typed parameters from the URL or query. You want better error handling and testing. You want some structure, without rewriting everything. Soon, your simpl...

Introducing Flask-Nova: Zero-Boilerplate APIs with Docs & Type Safety

Flask-Nova 🚀 Flask-Nova Flask is celebrated for its simplicity and flexibility, but building a modern API with authentication, validation, and documentation often becomes a repetitive chore. Flask-Nova is a modern extension for Flask that accelerates API development with automatic OpenAPI documentation and type-safe input models . 🔗 Links PyPI: https://pypi.org/project/flask-nova/ GitHub: https://github.com/manitreasure1/flasknova Example App: https://github.com/manitreasure1/flask-nova-tutorials 🔥 Key Features ✅ Auto-generated Swagger docs at /docs ✅ Typed route inputs using Pydantic-style models ✅ Decorator-based routing with zero boilerplate ✅ Built-in HTTPException for error handling ✅ status helpers (e.g., status.CREATED ) ✅ Depend() for clean dependency injection ✅ Extensible and Pythonic design ✅ Compatible with native Flask ...

Beginner-Friendly Introduction to Git & GitHub

Image
Beginner-Friendly Introduction to Git & GitHub Beginner-Friendly Introduction to Git & GitHub Getting Started with Git Why Version control Basic Git Commands Is Github Safe Other Tools As Git Getting Started with Git and GitHub Git is a distributed version control system widely used by developers to manage and track changes in source code during software development. It enables teams and individuals to work collaboratively on projects while keeping a history of every change made to the codebase. Here are some key features of Git: Version Control: It tracks changes, so you can revert to earlier versions of your work if needed. Branching and Merging: Developers can create independent branches for features or fixes, then merg...