Coder Social home page Coder Social logo

mpurdon / frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tradingstrategy-ai/frontend

0.0 0.0 0.0 7.33 MB

Web frontend for TradingStrategy.ai

Home Page: https://tradingstrategy.ai

Shell 1.91% JavaScript 4.66% TypeScript 12.92% CSS 5.67% HTML 0.57% Dockerfile 0.38% Svelte 73.88%

frontend's Introduction

Automated test suite and build container

Trading Strategy protocol website

A frontend for Trading Strategy protocol.

Install NPM dependencies

Node v16+ required.

npm install

Install submodules

frontend has several submodule dependencies installed under deps, including:

  • theme - Bootstrap v4 theme (being phased out)
  • trade-executor-frontend - frontend to trade-executor (beta UI for active trading strategies)
  • fonts - optional licensed fonts used by theme and our new design-system

Install all submodules (inclduing private fonts)

If you have access to the private tradingstrategy-ai/fonts, initialize and install all submodules:

git submodule update --init --recursive

Install only public submodules

If you don't have access to fonts, install only the public submodules:

git submodule update --init --recursive -- deps/theme deps/trade-executor-frontend

Building submodule dependencies

Once the submodules have been installed, their own install/build steps need to be run in order to have a fully working environment. The following script runs npm build on submodules and generates old Bootstrap v4 theme bundle:

bash scripts/build-deps.sh

Running in local dev

Environment variables required by the app are maintained in a .env file. Read about about magic VITE envs.

Start the SvelteKit development server:

npm run dev

Documentation

Notes

Code Formatting Standards

We are using Prettier for code formatting. Extensions are available for most code editors / IDEs (see "Editor Support" on Prettier homepage).

If you prefer not to have your editor do automatic formatting, please run the following command and commit properly formatted code before pushing a PR:

npm run format

Our CI/CD pipeline runs the following chack on PRs or pushes to master:

npm run format:check

SvelteKit and Svelte component installation issue

Any external Svelte components need to be installed as development dependency because of SSR.

frontend's People

Contributors

hieuh25 avatar kenkunz avatar maxrevolution avatar miohtama avatar servatj avatar tsorro 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.