• Stars
    star
    215
  • Rank 183,925 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AnyCable Rails demo application and its different variations

Unit Tests System Tests

AnyCable Rails Demo

This repository contains the code for AnyCable Rails demo application and its different variations.

List of all demonstration PRs

Installation

This app has a Docker-first configuration based one the Ruby on Whales post.

You need:

  • Docker installed.

For MacOS just use official app.

  • Dip installed.

Run the following command to build images and provision the application:

dip provision

Running

You can start Rails server along with AnyCable by running:

dip up web

Then go to http://localhost:3000/ and see the application in action.

Debugging

If you want to run Rails server and/or with debugging capabilities, run the following commands:

# for Rails server
dip rails s

Testing

We separate unit and system specs and provide convenient Dip commands to run them:

# only unit tests
dip rspec

# only system tests
dip rspec system

Resources

Aknowledgements

Built and tested with the help of these awesome technologies:

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable_rails_demo.

License

The application is available as open source under the terms of the MIT License.

More Repositories

1

anycable

AnyCable for Ruby applications
Ruby
1,922
star
2

anycable-rails

AnyCable for Ruby on Rails applications
Ruby
495
star
3

anycable-go

AnyCable real-time server
Go
366
star
4

graphql-anycable

A drop-in replacement for GraphQL ActionCable subscriptions. Works with AnyCable.
Ruby
112
star
5

anycable-client

AnyCable / Action Cable JavaScript client for web, Node.js & React Native
TypeScript
89
star
6

anycable_demo

Anycable demo application
Ruby
53
star
7

erlycable

Anycable Erlang WebSocket server
Erlang
45
star
8

xk6-cable

A k6 extension for testing Action Cable and AnyCable functionality
Go
26
star
9

anycable-rack-server

AnyCable-compatible Ruby Rack middleware
Ruby
25
star
10

heroku-anycable-go

Heroku buildpack for bundling Anycable-Go
Shell
18
star
11

anycable-helm

Helm charts for installing any cables into a Kubernetes cluster
Mustache
18
star
12

anyt

AnyCable conformance testing tool
Ruby
13
star
13

anycable-twilio-hanami-demo

Using AnyCable and Hanami to build an app to process Twilio Media streams
Go
12
star
14

vercel-anycable-demo

Next.js real-time application using AnyCable-Go as a real-time server and deployed on Vercel
TypeScript
12
star
15

websocket-bench

CLI interface for benchmark AnyCable
Go
10
star
16

anycable-serverless-js

AnyCable channels API for serverless
TypeScript
9
star
17

docs.anycable.io

AnyCable documentation
Ruby
9
star
18

action-cable-redis-backport

Ruby
7
star
19

capistrano-anycable

AnyCable integration for Capistrano
Ruby
7
star
20

anycable-rails-jwt

JWT identification helpers for AnyCable
Ruby
5
star
21

anycable-web

AnyCable web page
SCSS
5
star
22

anycable-go-scaffold

Template repository for anycable-go based applications
Go
3
star
23

anycable.github.io

AnyCable website contents
HTML
3
star
24

caddy-anycable

AnyCable module for Caddy
Go
3
star
25

uptriever

A CLI to upload documentation chunks to Trieve
Ruby
3
star
26

github-actions

Reusable Github Actions for AnyCable projects
2
star
27

homebrew-anycable

Anycable homebrew formulae
2
star
28

kuby-anycable

Kuby plugin to deploy AnyCable applications
Ruby
2
star
29

anycable-pubsub-nextjs

AnyCable / Next.js minimal example
TypeScript
1
star
30

simple-cable-app

Minimal ActionCable/AnyCable application which could be deployed on Heroku
Ruby
1
star