Ruby on Rails Training Tasks

  1. Create a simple API endpoint that returns a sample JSON response.

    http://localhost:5000/endpoint should return this response { success: true }

  2. Create a table (migration file) named users with columns of your choice (id, first_name, last_name, age, email, phone etc.).