help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
ruby-calculator
RSK World
ruby-calculator
Ruby Calculator Pro - Interactive Calculator with 8 Types + Mathematical Functions + Rails MVC + Modern Web Interface + API Integration + Educational Design
ruby-calculator
  • app
  • bin
  • config
  • db
  • node_modules
  • public
  • test
  • .gitignore1.6 KB
  • .ruby-version341 B
  • Gemfile2.3 KB
  • LICENSE1 KB
  • README.md4.3 KB
  • Rakefile562 B
  • config.ru495 B
  • index.html71.6 KB
  • package-lock.json27.1 KB
  • package.json835 B
README.mdLICENSE
README.md
Raw Download

README.md

# ๐Ÿงฎ Ruby Calculator Pro

> Advanced Interactive Calculator Built with Ruby on Rails 7

[![Ruby](https://img.shields.io/badge/Ruby-3.1.0-red.svg)](https://www.ruby-lang.org/)
[![Rails](https://img.shields.io/badge/Rails-7.0.4-red.svg)](https://rubyonrails.org/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

## ๐Ÿ“‹ Overview

Ruby Calculator Pro is a comprehensive web-based calculator application featuring:

- **Basic Calculator**: Standard arithmetic operations with memory functions
- **Scientific Calculator**: Trigonometric functions, logarithms, factorials
- **Graphing Calculator**: Function plotting, derivatives, integrals
- **Unit Converter**: Currency, length, weight, temperature conversions
- **Financial Calculator**: Loan calculations, compound interest
- **Health Calculator**: BMI, BMR, body fat percentage
- **Modern UI**: Responsive design with theme switching

## ๐Ÿš€ Live Demo

Open `index.html` in your browser to see the project showcase and installation guide.

## ๐Ÿ› ๏ธ Tech Stack

- **Backend**: Ruby on Rails 7.0.4
- **Frontend**: HTML5, CSS3, JavaScript (ES6)
- **Database**: SQLite3
- **Build Tools**: esbuild, Sass
- **UI Framework**: Bootstrap 5
- **JavaScript Libraries**: Turbo, Stimulus

## ๐Ÿ“ฆ Installation

### Prerequisites

- Ruby 3.1.0 or higher
- Node.js 14+ and npm
- SQLite3
- Git

### Quick Setup

```bash
# Clone the repository
git clone https://github.com/rskworld/ruby-calculator.git
cd ruby-calculator

# Install Ruby dependencies
bundle install

# Install JavaScript dependencies
npm install

# Build assets
npm run build
npm run build:css

# Setup database
rails db:create
rails db:migrate

# Start the server
rails server
```

Visit `http://localhost:3000` to access the calculator.

## ๐Ÿ“ Project Structure

```
ruby-calculator/
โ”œโ”€โ”€ app/
โ”‚ โ”œโ”€โ”€ controllers/ # Rails controllers
โ”‚ โ”œโ”€โ”€ models/ # Data models
โ”‚ โ”œโ”€โ”€ views/ # ERB templates
โ”‚ โ”œโ”€โ”€ javascript/ # Frontend JavaScript
โ”‚ โ””โ”€โ”€ assets/ # Stylesheets and assets
โ”œโ”€โ”€ config/ # Rails configuration
โ”œโ”€โ”€ db/ # Database files and migrations
โ”œโ”€โ”€ public/ # Static assets
โ”œโ”€โ”€ test/ # Test files
โ”œโ”€โ”€ Gemfile # Ruby dependencies
โ”œโ”€โ”€ package.json # Node.js dependencies
โ”œโ”€โ”€ index.html # Project showcase page
โ””โ”€โ”€ README.md # This file
```

## ๐ŸŽฏ Key Features

### Calculator Functions
- โœ… Basic arithmetic (+, -, ร—, รท)
- โœ… Scientific functions (sin, cos, tan, log, ln, โˆš)
- โœ… Memory operations (MR, M+, M-, MC)
- โœ… Keyboard shortcuts
- โœ… Calculation history

### Advanced Features
- โœ… Function graphing
- โœ… Currency conversion
- โœ… Unit conversion
- โœ… Financial calculations
- โœ… Health metrics
- โœ… Theme switching

## ๐Ÿ—๏ธ Development

### Available Scripts

```bash
# Start Rails server
rails server

# Run tests
rails test

# Build JavaScript
npm run build

# Build CSS
npm run build:css

# Watch mode (if configured)
npm run watch
```

### Database

```bash
# Create database
rails db:create

# Run migrations
rails db:migrate

# Seed data (if available)
rails db:seed
```

## ๐Ÿค Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## ๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ‘ฅ Authors

- **Molla Samser** - *Founder & Developer* - [RSK World](https://rskworld.in)
- **Rima Khatun** - *Designer & Tester* - [RSK World](https://rskworld.in)

## ๐Ÿ“ž Contact

- **Email**: help@rskworld.in
- **Phone**: +91 93305 39277
- **Website**: [https://rskworld.in](https://rskworld.in)

## ๐Ÿ™ Acknowledgments

- Ruby on Rails community
- Bootstrap for UI components
- Font Awesome for icons
- All contributors and supporters

---

โญ **Star this repo** if you found it helpful!
LICENSE
Raw Download
Find: Go to:
MIT License

Copyright (c) 2026 RSK World

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
21 linesโ€ข1 KB
text
๐Ÿš€ Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work โค๏ธ

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer