You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Start PostgreSQL database
pnpm docker:local
# Run database migrations
pnpm db:migrate
# Start all services (API + Admin + Mobile)
pnpm dev
Option 2: Run Individual Services
# Mobile App only
pnpm dev:mobile
# API Server only
pnpm dev:api
# Admin Dashboard only
pnpm dev:admin
Mobile App Testing
# Start Expo development server
pnpm dev:mobile
# Or run directly in apps/mobilecd apps/mobile
npx expo start
# Press 'i' for iOS Simulator# Press 'a' for Android Emulator# Scan QR code with Expo Go app for physical device
Scripts Reference
Command
Description
pnpm dev
Run all services in development mode
pnpm dev:mobile
Run mobile app
pnpm dev:api
Run API server
pnpm dev:admin
Run admin dashboard
pnpm build
Build all packages
pnpm lint
Run ESLint
pnpm test
Run tests
pnpm typecheck
Run TypeScript type checking
pnpm docker:local
Start local PostgreSQL
pnpm docker:local:down
Stop local PostgreSQL
pnpm db:migrate
Run Prisma migrations
pnpm db:studio
Open Prisma Studio
pnpm db:generate
Generate Prisma client
Workspace-specific Commands
# Run command in specific workspace
pnpm --filter @wigtn/mobile <command>
pnpm --filter @wigtn/api <command>
pnpm --filter @wigtn/admin <command>
pnpm --filter @wigtn/shared <command># Shortcuts
pnpm mobile <command>
pnpm api <command>
pnpm admin <command>
pnpm shared <command>
API Documentation
When the API server is running, Swagger documentation is available at:
http://localhost:3000/api/docs
Main API Endpoints
Endpoint
Method
Description
/api/auth/register
POST
User registration
/api/auth/login
POST
User login
/api/auth/refresh
POST
Refresh access token
/api/trips
GET/POST
Trip management
/api/trips/:id/expenses
GET/POST
Expense management
/api/exchange-rates
GET
Currency exchange rates
/api/ai/receipt/analyze
POST
Receipt OCR analysis
/api/sync/push
POST
Push local changes
/api/sync/pull
GET
Pull server changes
Deployment
Docker Deployment
# Development
pnpm docker:dev
# Production
pnpm docker:prod
Environment Variables
See .env.example files in each app directory for required environment variables.
Contributing
Fork the repository
Create your feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add some amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2026 WIGTN Crew
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Made with β€οΈ by WIGTN Crew
About
travel helper mobile application using wigtn-plugin