A full-stack web application for Kenyan freelancers to receive Bitcoin payments from global clients.
- React + Vite
- TailwindCSS
- Framer Motion
- React Router
- Node.js + Express
- Supabase (Auth & PostgreSQL)
- Bitnob API (Bitcoin payments)
- Node.js (v18+)
- npm or yarn
- Supabase account
- Bitnob API credentials
- Clone the repository
git clone <repository-url>
cd bitlancer- Install client dependencies
cd client
npm install- Install server dependencies
cd ../server
npm install- Set up environment variables
- Copy
.env.exampleto.envin both client and server directories - Fill in your Supabase and Bitnob credentials
Terminal 1 - Client:
cd client
npm run devTerminal 2 - Server:
cd server
npm run dev- 🔐 Secure authentication with Supabase
- 💰 Bitcoin wallet creation via Bitnob
- 📄 Invoice generation and management
- 🔗 Payment link creation
- 💳 Card payment processing with auto BTC conversion
- 📊 Transaction history and analytics
- ⚡ Lightning Network support
- 🎨 Modern, responsive UI
bitlancer/
├── client/ # React frontend
│ └── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Page components
│ ├── hooks/ # Custom React hooks
│ ├── context/ # React context providers
│ ├── lib/ # Utility functions
│ └── styles/ # Global styles
├── server/ # Express backend
│ └── src/
│ ├── routes/ # API routes
│ ├── controllers/ # Route controllers
│ ├── services/ # Business logic
│ ├── middleware/ # Express middleware
│ └── utils/ # Utility functions
└── bitnob/ # Bitnob integration
└── bitnob.service.js
MIT