Sinatra, the lightweight Ruby framework, is great for simple webapps. Setting up a simple events app is a great way to learn more about the framework, user authentication, ActiveRecord, and more.

Getting Started

If this is your first time using Sinatra, check out the helpful Sinatra README.

Gemfile

Add the below gems to your gemfile and enter bundle install in your terminal. This will add a tremendous amount of functionality to your app.

Gemfile

Creating Models and Migrations

Models

First, create an app > models folder within your app and set up your User and Event models. …

Jeremy Parker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store