class Developer < ApplicationRecord # About me attr_accessor :name, :role, :location, :skills def initialize @name = "Sparsha Lamichhane" @role = "Full-Stack Ruby on Rails Developer" @location = "Kathmandu, Nepal" @skills = ["Ruby", "Rails", "JavaScript", "React", "Hotwire", "PostgreSQL"] @experience = "2+ years" @passion = "Building elegant web applications" end def contact { email: "[email protected]", github: "https://github.com/sparshalc" } end end
module AboutMe # Learning about who I am and what I do end
module AboutMe def self.bio "I'm a 20-year-old full-stack developer with over 2 years of hands-on experience in Ruby on Rails. My passion lies in creating dynamic web applications that combine elegant code with exceptional user experiences." end def self.journey "I've honed my skills in both front-end and back-end development, specializing in Ruby on Rails. I thrive on tackling complex problems and turning ideas into functional, scalable applications." end def self.beyond_coding "When I'm not coding, I enjoy graphic design, music, and gaming. These creative outlets complement my development work." end end
module TechStack # The tools and technologies I work with end
module TechStack def self.languages ["Ruby", "JavaScript", "HTML5", "CSS3", "SQL"] end def self.frameworks ["Ruby on Rails", "React", "Hotwire", "Turbo", "Stimulus"] end def self.databases ["PostgreSQL", "MySQL", "Redis"] end def self.tools ["Git", "GitHub", "Docker", "RSpec", "Vim"] end end
class Portfolio < ApplicationRecord # A collection of my best work end
class Portfolio < ApplicationRecord has_many :projects, dependent: :destroy def featured_projects projects.where(featured: true).order(created_at: :desc) end def recent_projects(limit: 3) projects.order(created_at: :desc).limit(limit) end end
module OpenSource < ApplicationRecord # My contributions to the developer community end
module OpenSource def self.contributions [ { name: "GoodJob", description: "Multithreaded, Postgres-based, Active Job backend for Ruby on Rails", url: "https://github.com/bensheldon/good_job" }, { name: "Pet Rescue", description: "Application for connecting adopters with pets", url: "https://github.com/rubyforgood/pet-rescue" }, { name: "The Odin Project", description: "Open-source coding curriculum", url: "https://github.com/TheOdinProject/theodinproject" } ] end end
Multithreaded, Postgres-based, Active Job backend for Ruby on Rails. A robust alternative to Sidekiq and Delayed Job.
An application making it easy to link adopters/fosters with pets, supporting grassroots rescue organizations.
An open-source coding curriculum that helps aspiring web developers learn together for free.
def contact_me # Let's work together end
def send_message(name:, email:, message:) if name.present? && email.present? && message.present? ContactMailer.with(name: name, email: email, message: message).deliver_later { success: true, message: "Thanks for reaching out! I'll get back to you soon." } else { success: false, message: "Please fill out all fields." } end end
def location
Kathmandu, Nepal