Crystal Server

Open-source Crystal projects categorized as Server

Crystal Server Projects

  • lavinmq

    Lightweight and fast AMQP (0-9-1) server

    Project mention: Lightweight and fast AMQP (0-9-1) server | news.ycombinator.com | 2024-04-07

    oh, interesting, so it can be a kafka replacement: https://github.com/cloudamqp/lavinmq/tree/v1.2.10#stream-que...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • marten

    The pragmatic web framework. (by martenframework)

    Project mention: Make Marten Web Framework work with minitest.cr | dev.to | 2025-01-07

    ENV["MARTEN_ENV"] = "test" require "minitest/autorun" require "marten" require "marten/cli" # Only require those to avoid running Crystal Spec in parallel with minitest require "marten/spec/ext/db/statement" require "marten/spec/client" # Copy from https://github.com/martenframework/marten/blob/main/src/marten/spec.cr module Marten module Spec @@client : Marten::Spec::Client? def self.clear_client : Nil @@client = nil end def self.clear_collected_emails : Nil Marten::Emailing::Backend::Development.delivered_emails.clear end def self.delivered_emails : Array(Emailing::Email) Marten::Emailing::Backend::Development.delivered_emails end def self.client @@client ||= Marten::Spec::Client.new end def self.flush_databases Marten::DB::Connection.registry.values.each do |conn| Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.flush_model_tables end end end def self.setup_databases Marten::DB::Connection.registry.values.each do |conn| if !conn.test_database? raise "No test database name is explicitly defined for database connection '#{conn.alias}', cancelling..." end Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.sync_models end end end end end # Hooks https://github.com/ysbaddaden/minitest.cr/blob/bfc73a6196129e59b6c05d49d69e542f83a5939f/src/test.cr#L24 class Minitest::Test def before_setup # Register applications only once Marten.setup if Marten.apps.app_configs.empty? Marten::Spec.setup_databases end def after_teardown Marten::Spec.flush_databases Marten::Spec.clear_collected_emails Marten::Spec.clear_client DB::Statement.reset_query_count end end require "../src/project"

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Crystal Server discussion

Log in or Post with

Crystal Server related posts

  • Marten: a Crystal web framework

    1 project | /r/patient_hackernews | 30 Oct 2022
  • Marten: a Crystal web framework

    1 project | /r/hackernews | 30 Oct 2022
  • Marten, a Crystal web framework that makes building web apps productive and fun

    1 project | /r/hypeurls | 30 Oct 2022

Index

Project Stars
1 lavinmq 608
2 marten 423

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that Crystal is
the 57th most popular programming language
based on number of metions?