Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryichk/ruby_no_rails

Web Application in Ruby without Rails.
https://github.com/ryichk/ruby_no_rails

Last synced: 29 days ago
JSON representation

Web Application in Ruby without Rails.

Awesome Lists containing this project

README

        

# Ruby no Rails

## Description

We'll build a simple but complete app in plain Ruby without Rails, to get a deeper understanding and appreciation of everything Rails does for us.

## Flow

1. [Setup a Project Directory](https://www.akshaykhot.com/building-web-application-without-rails/#setup-a-project-directory) with Bundler.

2. [Install Puma Application Server](https://www.akshaykhot.com/building-web-application-without-rails/#install-puma-application-server) to listen for incoming HTTP requests.

3. [Use the Rack Gem](https://www.akshaykhot.com/building-web-application-without-rails/#install-the-rack-gem) to provide the glue between application servers and our application.

4. [Create a Web Application](https://www.akshaykhot.com/building-web-application-without-rails/#create-a-web-application) that follows the Rack specification.

5. [Make Puma Talk to Our Application with a Rackup File](https://www.akshaykhot.com/building-web-application-without-rails/#make-puma-talk-to-our-application-with-a-rackup-file)

6. [Run the Application](https://www.akshaykhot.com/building-web-application-without-rails/#run-the-application)

7. [Use the Rack Reloader Middleware to Reload Application](https://www.akshaykhot.com/building-web-application-without-rails/#use-the-rack-reloader-middleware-to-reload-application) whenever the code changes.

8. [Serve Static Files and Render Dynamic Views](https://www.akshaykhot.com/render-dynamic-views-using-erb/)

9. [Build Your Own Router in Ruby](https://www.akshaykhot.com/build-your-own-router-in-ruby/)

10. [Implementing Rails-like Controllers in a No-Rails App](https://www.akshaykhot.com/implement-rails-controllers-in-ruby/)

11. [How to Implement Rails-like Views in Ruby](https://www.akshaykhot.com/how-to-implement-rails-views-in-ruby/)

12. [Logging in Ruby: (Almost) Everything You Need to Know](https://www.akshaykhot.com/logging-in-ruby/)

13. [Using Zeitwerk Outside Rails](https://www.akshaykhot.com/using-zeitwerk-outside-rails/)

14. [Rails Middleware: (Almost) Everything You Need to Know](https://www.akshaykhot.com/rails-middleware-what-why-and-how/)

## Reference

[Ruby no Rails - Akshay's Blog](https://www.akshaykhot.com/tag/ruby-no-rails/)