Skip to content

bryanmdavis25/calctek-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalcTek Calculator

A modern API-driven calculator built with Laravel 12, Vue 3, Inertia.js, and Tailwind CSS.

Features

  • Basic arithmetic and advanced math functions (sqrt, ^, sin, cos, tan, log, abs, PI, E)
  • Calculation history with delete and clear-all
  • Responsive, beautiful UI
  • Fully tested backend and frontend

Prerequisites

  • PHP >= 8.4
  • Composer
  • Node.js >= 18 & npm
  • SQLite (default) or MySQL/Postgres

Setup Instructions

1. Clone the repository

git clone <your-repo-url>
cd calctek-bryan

2. Install PHP dependencies

composer install

3. Install Node dependencies

npm install

4. Copy and configure environment

cp .env.example .env
php artisan key:generate

5. Set up the database

  • By default, uses SQLite. To use MySQL/Postgres, update .env accordingly.
touch database/database.sqlite
php artisan migrate

6. Build frontend assets

npm run build

7. (Optional) Run in development mode

  • Start Laravel backend:
php artisan serve
  • Start Vite dev server (for hot reload):
npm run dev

8. Run tests

php artisan test

Usage

  • Visit http://localhost:8000 in your browser.
  • Use the calculator and see your calculation history update in real time.

Troubleshooting

  • If you see a Vite manifest error, run npm run build or npm run dev.
  • For any issues, check browser console and Laravel logs.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors