Skip to content

petitkriket/trading-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corridor 5 Trading App

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.

Features

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.

Requirements

Running the UI locally

If using nvm (recommended), set Node.js version:

nvm use

Install dependencies:

npm install

Run the application:

npm run dev

Development

Generate API types from SpaceTraders OpenAPI spec:

npm run generate:api

See the SpaceTraders API Documentation for more details.

Tech Stack

  • TypeScript
  • OpenAPI-first approach with auto-generated types
  • Vite
  • Vue 3
  • Vue Router
  • TanStack Query
  • Pinia
  • Cypress

Testing

Run component tests:

npm run test:unit:dev

Run e2e tests:

npm run test:e2e:dev

Linters, Formatters, and Type Checking

Check and fix code:

npm run lint
npm run format
npm run type-check

Build

Build for production:

npm run build

Project Structure

This 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.

Documentation

For more details on architecture decisions and project roadmap, see the docs folder:

About

This application is a GUI for the SpaceTraders API first game. It's deployed here. https://petitkriket.github.io/trading-app/

Resources

Stars

Watchers

Forks

Contributors