https://github.com/bittricky/tip-calculator
A simple desktop app to calculate the correct tip and total cost of the bill per person 💸
https://github.com/bittricky/tip-calculator
electron exercise javascript pnpm react tailwindcss typescript vite
Last synced: 3 months ago
JSON representation
A simple desktop app to calculate the correct tip and total cost of the bill per person 💸
- Host: GitHub
- URL: https://github.com/bittricky/tip-calculator
- Owner: bittricky
- Created: 2024-11-23T18:57:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T18:41:31.000Z (over 1 year ago)
- Last Synced: 2025-08-23T01:38:07.130Z (10 months ago)
- Topics: electron, exercise, javascript, pnpm, react, tailwindcss, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tip Calculator
> Simple desktop application to calculate tips on a bill
## Prerequisites
- Node.js (v16 or higher)
- pnpm (to install, run: npm install -g pnpm)
## Setup
Clone the Repository
```sh
git clone
cd tip-calculator
```
## Install Dependencies
```sh
pnpm install
```
## Run the Development Server
```sh
pnpm dev
```
This starts the Vite development server. Open the browser to see the application.
## Start Electron (Desktop Version)
In a separate terminal, run:
```sh
pnpm exec electron .
```
## Build for Production
```sh
pnpm build
```
This bundles the front-end, compiles TypeScript, and packages the Electron app.
Preview the Build
```sh
pnpm preview
```