Ruby Project: File-Based CMS (Sinatra, Auth, Markdown)

Click here to view this project on Github.

This is a content management system built as a multi-page Sinatra web app. It lets you browse documents, view them, edit them, create new files, and delete files. It supports both plain text and Markdown (Markdown is rendered to HTML), uses sessions + flash messaging for user feedback, and includes sign-in protection for admin-only actions. There’s also an automated test suite using Rack::Test + Minitest.

Skills demonstrated:

  •     Ruby
  •     Sinatra (routes, helpers, sessions)
  •     Authentication + authorization (login-gated actions)
  •     Markdown rendering (Redcarpet)
  •     Security basics (HTML escaping, session handling)
  •     File I/O (read/write/create/delete)
  •     ERB templating + HTML/CSS
  •     Testing (Minitest + Rack::Test)

Leave a Reply

Your email address will not be published. Required fields are marked *