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
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
ruby-calculator
/
test
RSK World
ruby-calculator
Ruby Calculator Pro - Interactive Calculator with 8 Types + Mathematical Functions + Rails MVC + Modern Web Interface + API Integration + Educational Design
test
  • controllers
  • models
  • test_helper.rb728 B
category.rbREADME.md
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!

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