SpaceTraders is a persistent universe multiplayer game (MMO) with an open access API.
This application is a GUI for the SpaceTraders API first game. It's deployed here.
SpaceTraders mechanics and lore can be found at the SpaceTraders website.
Implemented:
- Authentication and agent management
- Star systems exploration
Planned:
- Navigation between star systems
- Fleet management
- Markets and trading
- Real-time notifications or events
- Trading bots for automated trading
- Localization if demanded See ROADMAP.md for details.
- Node.js
^20.19.0or>=22.12.0 - A SpaceTraders account (register at SpaceTraders API Dashboard)
If using nvm (recommended), set Node.js version:
nvm useInstall dependencies:
npm installRun the application:
npm run devGenerate API types from SpaceTraders OpenAPI spec:
npm run generate:apiSee the SpaceTraders API Documentation for more details.
- TypeScript
- OpenAPI-first approach with auto-generated types
- Vite
- Vue 3
- Vue Router
- TanStack Query
- Pinia
- Cypress
Run component tests:
npm run test:unit:devRun e2e tests:
npm run test:e2e:devCheck and fix code:
npm run lint
npm run format
npm run type-checkBuild for production:
npm run buildThis project follows a feature-based folder structure:
src/
├── features/ # Feature modules (auth, agent, systems, etc.)
├── core/ # Shared core utilities and APIs
└── layouts/ # Layout components
Each feature is self-contained with its own components, composables, and types.
For more details on architecture decisions and project roadmap, see the docs folder:
- NOTES_INITIALES.md - Architecture overview and requirements
- DECISIONS.md - Technical decisions with alternatives and rationale
- ROADMAP.md - Feature roadmap and development progress