<commit_before><commit_msg>Add route configuration<commit_after>package Iwai::Route;

use strict;
use warnings;

use Router::Simple::Declare;

sub mk_router {
  router {
    connect "/" => {
      redirect => "/list",
    };

    connect "/list" => {
      controller => "List",
      action     => "index",
    };

    connect "/add" => {
      controller => "List",
      action     => "create",
    }, { method => "POST" };

    connect "/remove" => {
      controller => "List",
      action     => "delete",
    }, { method => "POST" };

    connect "/update" => {
      controller => "List",
      action     => "update",
    }, { method => "POST" };
  };
}

1;
{'fraction_non_alphanumeric': 0.1934032983508246, 'fraction_numerical': 0.0014992503748125937, 'mean_word_length': 2.136150234741784, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2437470', 'n_tokens_mistral': 211, 'n_tokens_neox': 206, 'n_words': 47}