# EvikTools

Engineering tools website with SQLite database. Expandable set of calculators.

## Tools

1. **Slope Calculator** – Rise over run, slope %, angle
2. **Unit Converter** – Distance units (mm, cm, m, km, in, ft, yd, mi)
3. **Volt & Cables** – Voltage drop and cable sizing (DC/AC)
4. **Volume Calculator** – Cube, rectangular prism, cylinder, sphere, cone

## Run

```bash
npm install
npm start
```

Open http://localhost:3000

## Add New Tools

Tools are stored in SQLite (`eviktools.db`). Add via API:

```bash
curl -X POST http://localhost:3000/api/tools \
  -H "Content-Type: application/json" \
  -d '{"name":"New Tool","slug":"new-tool","description":"...","icon":"🔧"}`
```

Then add the corresponding UI in `public/index.html` and `public/app.js`.
