mike

A very simple micro web framework


Keywords
web, library, rest, framework, simple, hacktoberfest, nim, web-framework
License
MIT
Install
nimble install mike

Documentation

Mike, The Mikro web framework

Tests

very simple to use web framework for easy prototyping and rapid development

import mike

get "/":
    send "hello"
    
startServer()

take a look a the example for more info testing is also easy with the built in mock testing just have -d:testing defined somewhere when running your tests and you will be able to mock test like so

include example.nim # The file you are testing
import unittesting

test "Test root returns hello":
    let response = getMock("/")
    check response.body == "hello"