Frontier Rail — a Ruby on Rails app

Prahal Venkatesan
1 min readJul 19, 2021

This is my first Ruby on Rails backend app. Rails is very new to me. I started learning Ruby before I stepped into the world of Rails.

Home screen of rails app

As can be seen from the image above, there are 4 main links on the home page. User can look up trains that are available and can book the train that is most convenient to them. There are 2 types of users of the app: admin and user. Admin is created by the backend and only an admin can do administrative tasks relating to trains. For example, an user can only look up the trains available for the purpose of making a train booking, but an admin can add/edit/delete trains. I implemented logging through Facebook using the ‘ominauth’ gem, in addition to normal sign up and logging in. Authentication in the backend is something important I learnt through implementing this project.

--

--