GithubHelp home page GithubHelp logo

christiankozalla / trading-stats Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 636 KB

Gherkin 1.11% Go 47.15% JavaScript 0.41% HTML 0.29% Vue 35.74% TypeScript 12.93% CSS 1.30% Shell 0.79% Procfile 0.27%

trading-stats's Introduction

inloopo Trading Stats

Traders need to track their progress over time to eventually sit down and assess their progress, reflect decision they made, sharpen their mindsets and iterate on their strategy.

This app aims to be a trader's daily companion and single source of truth for providing insights on their trading activity via data visualizations such as charts and tables.

Running in production

The app is currently running on a VPS behind a Caddy server reverse-proxy that routes all requests to PocketBase. PocketBase serves the Vue frontend app from its static directory pb_public, and acts as a REST API on all routes like /api/* . PocketBase is deployed as a single binary. A single process is managed by systemd. All data is currently stored in the pb_data directory such as the SQLite database or user-provided uploaded files. In the future, an S3 storage can be used for such file hosting.

Development

A Procfile is used for starting up the development environment. Here is a list of tools that need to be installed on the development machine.

  • Hivemind: Runs processes declared in a Procfile in parallel
  • modd: Watches for changes in Golang source code and rebuilds the PocketBase server upon changes.
  • Docker: Spins up a Caddy server delegating requests from the main host to the Vite dev-server and the PocketBase REST API. With this setup both frontend dev-server and backend API are available on the same host during development, so it's running mostly like in production, without CORS issues etc.
# Start the Dev-Environment
hivemind

trading-stats's People

Contributors

christiankozalla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.