Giter Site home page Giter Site logo

ace-trading's Introduction

Ace App

Requirements

  1. Clone this project
  2. Docker

To Setup

  1. In api and web folder.
  2. Copy .env_example as .env and update the environment variables with the value.
  3. In real world projects, sensitive information is strictly not allowed to be share nor expose. Exception for this, for quick setup
  4. To start the project, in root folder, run docker-compose -f ./docker-compose.yml up -d. -d for detach after completion
  5. The initial setup will run services (web and api) and create database table
  6. Once it is complete, run docker exec ace_api npx ts-node src/database/seeds/initial_seed.ts to insert seed data. A seed data is an initial data.

Services/Tech

  1. web - Node 16/React JS
  2. api - Node 16/NodeJS/Express/TypeScript/Jest
  3. Database - PostgreSQL 14.8
  4. Data - Source from Kaggle seed into DB
  5. Chart Library - igniteui-react-charts

To Run

  1. Open browser and run http://localhost:8080
  2. It will show login page
  3. To login, use anonymous credentials. Email: [email protected] Password: AlQcExwqyvMExVJ
  4. It will redirect to home dashboard

Alt text

To Run Test

  1. In terminal, run docker exec ace_api npm run test.
  2. It will run all test as follow.

Alt text

Access to Database

  1. Download and install Table+ .
  2. Open Table+ and Create Connection by clicking [+] and Select PostgreSQL.
  3. Enter Name Ace Local, Host 127.0.0.1, User ace-user, Password zMYTAKG6QjM, Database ace and PORT 5432.
  4. Click button Connect

Alt text

ace-trading's People

Contributors

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