Snack – A Slack Clone made in Rails 6 within 3 days.

[Partials overload!](https://reddit.com/link/eax9jc/video/nldc8045rr441/player)

Just wanted to share this project i've been working on for the last 3 days. It's a Slack Clone made in Rails 6 with the new Webpacker/NPM pipeline.

My main goal in this project was to learn finally ActionCable in depth and also the new Webpacker pipeline. Overall, i'm pretty happy with how it turned out, as it works pretty smoothly. I've used a lot of partials to render down the data everywhere, which would require much more optimizing in the current state obviously.

I'm also surprised how fast Rails 6 is compared to Rails 5, at least in development. It's definitely faster in my experience.

So yeah, that would be it.

Any questions are welcome!

Happy coding!

10 thoughts on “Snack – A Slack Clone made in Rails 6 within 3 days.”

  1. I don’t get why you get so much hate and downvotes over in /r/webdev, I think it is quite established that a clone does not need to be fully feature complete, and a demo app does not have to be production-grade to still get praise.

    Reply
  2. Did you remove the link? I get a 404. After reading the comments in both this post and the cross post, I was very much looking forward to checking this out. I don’t have a lot of rails experience since 5.0 or so, and am currently exposing some js-based co-workers to Ruby and Rails. Their default desire is understandably to use rails in API mode, and do an entirely separate front end app in Vue. But, I think Rails has previously done a really great job with turbolinks and server side views. It sounds like you are an advocate of that strategy as well and am looking forward to getting a bit of an update with the modern tooling. JS has changed a lot in Rails and I’m not totally up to speed.

    Reply
  3. This is great. Agree that the haters are idiots and totally missed the point. Did you/will you put the source on Github? I’m in same position as you, about to move to Rails6 and need to catchup on my knowledge of how JS/webpacker integration has evolved since Rails <5. I would love to non-judgmentally fork your code to learn from it.

    Reply

Leave a Comment