Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Use-Tools/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN=
VITE_FIREBASE_DATABASE_URL=
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET=
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_APP_ID=
10 changes: 10 additions & 0 deletions Use-Tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_modules
.dist
coverage
.DS_Store
.env
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
dist
19 changes: 19 additions & 0 deletions Use-Tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Use-Tools

A React (Vite) web app with Firebase Realtime Database.

## Setup

1. Copy `.env.example` to `.env` and fill in your Firebase web app credentials, including the Realtime Database URL.
2. Install dependencies and run:

```bash
npm install
npm run dev
```

Visit the local address shown in the terminal.

## Tools

- GCD / PGCD Calculator: Compute the greatest common divisor of two integers. Saves recent calculations to `tools/gcd/calculations` in Firebase Realtime Database.
13 changes: 13 additions & 0 deletions Use-Tools/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Use-Tools</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading