GithubHelp home page GithubHelp logo

eliaahadi / dashboard_spa Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.96 MB

Dashboard Single Page Application

Home Page: https://stock-exchange-webapp.herokuapp.com/

HTML 6.20% Ruby 43.27% CSS 8.65% JavaScript 41.88%

dashboard_spa's Introduction

Dashboard Single Page Application Stock Exchange

  • Single Page Application with 2 APIs and 3 components.
    • APIS
      • Stocks data via a GET request
      • Carts data via GET and POST request
    • Components
      • Date picker for stock data
      • Buy stock data
      • Carts data of bought stock

Demo

App on heroku here:

Overview

  • The tech stack for this application is JavaScript/React/Redux for front end and Ruby on Rails for backend with PostsreSQL database.
  • Interactive components for the date component and buying stock components.

Setup

  • git clone repository
  • Run rails API server:
$ cd stock-app
stock-app $ bundle
stock-app $ rails db:migrate
stock-app $ rails db:seed
stock-app $ rails s
  • Run frontend React server:
stock-app $ cd frontend
frontend $ yarn install
frontend $ PORT=4000 yarn --cwd frontend start
  • Or to run both servers together using heroku, run command:
$ yarn heroku
  • View frontend at localhost:4000 and backend at localhost:3000/api/carts

References

dashboard_spa's People

Contributors

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