A modern, open-source frontend starter for tipping creators with the Stellar network.
This repository uses Next.js (App Router), TypeScript, and TailwindCSS with a scalable folder structure designed for collaboration.
Stellar Tip Jar allows supporters to send tips to creators using Stellar assets. This frontend starter includes:
- Landing page introducing the project
- Dynamic creator profile route (
/creator/[username]) - Explore creators page (
/explore) - Tip flow placeholder (
/tips) - Reusable UI components (Button, Navbar)
- Wallet connection placeholder for future Stellar wallet integration
- API service layer prepared for backend communication
- Clone the repository.
- Install dependencies:
npm install- Create your local environment file:
cp .env.example .env.local- Start development server:
npm run dev- Open
http://localhost:3000. - Run lint checks:
npm run lint- Run type checking:
npm run typecheck- Build for production:
npm run buildsrc/
app/ # App Router routes and layout
components/ # Reusable UI components
hooks/ # Reusable React hooks
services/ # API service layer
utils/ # Utility/helper functions
styles/ # Global and shared styles
- Keep route-specific UI inside
src/app/<route>. - Place reusable UI in
src/components. - Put API integration logic in
src/services. - Keep wallet implementation details in
src/hooks/useWallet.ts.
See .env.example:
NEXT_PUBLIC_API_URL- backend base URLNEXT_PUBLIC_STELLAR_NETWORK- Stellar network (testnetby default)
This project is licensed under the MIT License.