A crypto accounting tool designed for startups, freelancers, and individuals who receive payments in cryptocurrency.
- Node.js 18+ and npm
- PostgreSQL database
- Firebase account (for authentication)
git clone <repo-url>
cd Accounting
# Install dependencies
cd client && npm install
cd ../server && npm installWe use .env.local files for local development to keep credentials secure.
Option A: Automated Setup (Recommended)
# Run the setup script from the project root
./setup-env.shOption B: Manual Setup
# Client
cd client
cp .env .env.local
# Edit .env.local with your Firebase config
# Server
cd server
cp .env .env.local
# Edit .env.local with your real values📖 For detailed instructions, see ENV_SETUP.md
- Create a Firebase project at console.firebase.google.com
- Get web app config and add to
client/.env.local - Download service account key to
server/serviceAccountKey.json - Update
FIREBASE_PROJECT_IDinserver/.env.local
# Create PostgreSQL database
psql -U postgres -c "CREATE DATABASE cryptotally"
# Update DATABASE_URL in server/.env.local
# DATABASE_URL=postgresql://localhost:5432/cryptotally# Terminal 1: Client
cd client
npm run dev
# Opens at http://localhost:5173
# Terminal 2: Server
cd server
npm run dev
# Runs at http://localhost:5000/Accounting/
├── client/ # React + Vite frontend
├── server/ # Node.js + Express backend
├── landing/ # Landing page
├── mintlify-docs/ # Documentation site
├── ENV_SETUP.md # Environment variables guide
└── setup-env.sh # Automated setup script
- ENV_SETUP.md - Environment variables setup guide
- DOCS.md - Complete documentation index
- Client Docs - Frontend architecture & features
- Server Docs - Backend architecture & API docs
- Online Docs - Full documentation site
- ✅
.env.localis gitignored (safe to add real credentials) - ❌ Never commit
.env.localorserviceAccountKey.json - ✅
.envcontains only placeholder values (safe to commit)
cd client
npm run dev # Start dev server
npm run build # Build for production
npm run preview # Preview production buildcd server
npm run dev # Start dev server with hot reload
npm run build # Build TypeScript
npm start # Start production serverFor production (Railway, Render, Vercel), set environment variables directly in your hosting platform - DO NOT use .env or .env.local files.
See ENV_SETUP.md for detailed deployment instructions.
- Create
.env.localfiles (see ENV_SETUP.md) - Make your changes
- Test locally
- Submit a pull request
[Add your license here]
- Website: cryptotally.xyz
- App: app.cryptotally.xyz
- Docs: docs.cryptotally.xyz
- Landing: www.cryptotally.xyz
Status: 🚧 In Development