Varel

V Advanced Routing Engine Library (VAREL)

/static/img/varel-logo.png

Version Technology Category
0.1.6 ALPHA V Language Software Library: V Module

** WARNING ** : Varel is a research project, and is not completed. It is not recommended for use in production deployments.


Key Features

🚀 Performance

Varel is written in V and uses the net.http module. here is the latstest benchmark results:

🎨 Design

Varel follows the MVC (Model View Controller) paradigm. It uses a Radix tree router, includes a generator with scaffoldiung, database support for PostgreSQL, and include the veemarker template engine.

What's wrong with Veb?

Nothing. Veb is bulit into V which makes it easy for any V developer use. While Veb will continue to improve, it does not currently have some of the features found in other frameworks. As your application grows in complexity, the veb's routing configuration becomes challenging to troublshoot. This was the original problem varel sought to overcome. The project grew from there.

🔧 Tools

Varel includes all of the tools you need to get started:

./varel help
╦  ╦┌─┐┬─┐┌─┐┬
╚╗╔╝├─┤├┬┘├┤ │
 ╚╝ ┴ ┴┴└─└─┘┴─┘
Version 0.1.6

A flexible, high-performance web framework for V

Usage:
  varel <command> [arguments]

Commands:
  new <name>      Create a new Varel project
  init            Initialize Varel in current directory
  serve           Start development server
  db              Database commands (create, migrate, rollback, etc.)
  generate        Generate code (migrations, models, controllers)
  user            User management (create, list, delete)
  symlink         Create symlink in /usr/local/bin
  version         Show Varel version
  help            Show this help message

Examples:
  varel new myapp                    # Create new project
  varel db create                    # Create database
  varel generate migration add_users # Generate migration
  varel db migrate                   # Run migrations
  varel serve                        # Start server
  varel serve 3000                   # Start on port 3000
  varel serve watch                  # Start with hot reload

Get started:
  1. varel new myapp
  2. cd myapp
  3. varel db create
  4. varel serve
  5. Visit http://localhost:8080

Technical Specifications

Specification Details
Programming Language V Language
Platform Support (tested) Linux - should work on any platform V can compile
Dependencies V >= 0.4.12., V stdlib, veemarker

Documentation

Reference Guides