Installation

# Add this to your shard.yml
dependencies:
  shivneri:
    github: ujjwalguptaofficial/shivneri
    version: ~> 0.18.0

Then run:

shards install

shard.yml

Crystal
>= 0.36.0 - 1.0
License
APACHE 2.0
Author
Ujjwal Gupta <ujjwalkumargupta44@gmail.com>

Dependencies

Runtime Dependencies

  • crinja*github: straight-shoota/crinja

README

[![GitHub version](https://badge.fury.io/gh/ujjwalguptaofficial%2Fshivneri.svg)](https://badge.fury.io/gh/ujjwalguptaofficial%2Fshivneri) ![Crystal CI](https://github.com/ujjwalguptaofficial/shivneri/workflows/Crystal%20CI/badge.svg?branch=master) [![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://shivneriforcrystal.com/)
# Shivneri

Component based MVC web framework based on fort architecture for [crystal](https://crystal-lang.org/) targeting good code structures, modularity & performance.

# Features

* Based on [Fort](https://github.com/ujjwalguptaofficial/fort) architecture.
* MVC Framework and follows OOPS approach so everything is class and object.
* Provides components - Wall, Shield and Guard. Components help modularize the application.
* Everything is configurable - you can configure your session store, view engine, websocket etc.
* Dependency Injection.
* Everything can be unit tested, so you can use a [TDD](https://guide.freecodecamp.org/agile/test-driven-development/) approach.

# Examples

* Rest Api - https://github.com/ujjwalguptaofficial/shivneri-examples/tree/master/rest
* WebSocket - https://github.com/ujjwalguptaofficial/shivneri-examples/tree/master/chat
* Authentication - https://github.com/ujjwalguptaofficial/shivneri-examples/tree/master/authentication
* Request Logging - https://github.com/ujjwalguptaofficial/shivneri-examples/tree/master/request-logger

# Doc Site

https://shivneriforcrystal.com/