A modern API-driven calculator built with Laravel 12, Vue 3, Inertia.js, and Tailwind CSS.
- 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
- PHP >= 8.4
- Composer
- Node.js >= 18 & npm
- SQLite (default) or MySQL/Postgres
git clone <your-repo-url>
cd calctek-bryancomposer installnpm installcp .env.example .env
php artisan key:generate- By default, uses SQLite. To use MySQL/Postgres, update
.envaccordingly.
touch database/database.sqlite
php artisan migratenpm run build- Start Laravel backend:
php artisan serve- Start Vite dev server (for hot reload):
npm run devphp artisan test- Visit http://localhost:8000 in your browser.
- Use the calculator and see your calculation history update in real time.
- If you see a Vite manifest error, run
npm run buildornpm run dev. - For any issues, check browser console and Laravel logs.
MIT