Coder Social home page Coder Social logo

webclinic017 / hyperportfolio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jayy-lmao/hyperportfolio

0.0 0.0 0.0 30.86 MB

Stock-trading site using React, Django, Postgresql.

Dockerfile 0.13% Shell 0.20% Python 7.24% CSS 33.71% JavaScript 58.56% HTML 0.15%

hyperportfolio's Introduction

Built by Mujeok Coderz for UNSW Capstone project

Build Status

Usage

For the best experience of using the app, we recommend visiting our website, formerly hosted on AWS.

Website can be found on:

http://hyperportfol.io

Registration only requires address of [A-z]@[A-z].[A-z], and will not be verified. (This is in part to avoid our storage of peoples emails for a educational site)

Site is no longer hosted, but can be run locally if given a rapidAPI key.

Development

There are a number of environment variables which must be set.

Local Development

Requirements: docker, docker-compose, a stable internet connection.

When developing locally, it is recommended you store your server environment variables in a .env file within the src/ directory.

DEBUG=0
SECRET_KEY=<you can choose your own secure key>
SQL_ENGINE=django.db.backends.postgresql
SQL_DATABASE=stocks_django_prod
SQL_USER=stocks_django
SQL_PASSWORD=stocks_django
SQL_HOST=db
SQL_PORT=5432
DATABASE=postgres
RAPID_API_KEY=<Send an email to Mujeok Coderz to request this>

Most of these variables don't need to be secure for local development; however RapidAPI is a service which can be abused. If you choose to provide your own RapidAPI key then keep it secure; if you want to use ours for assessing the program please send us an email.

The site can be hosted locally using docker-compose up inside of the src/ folder.

$ docker-compose up
Starting src_db_1 ... 
Starting src_nginx_1 ... 

Once docker-compose has it fully built and loaded, you will be able to access the site at http://localhost:3001.

Code commenting and documentation for the React front-end is automatically built into document which can be accessed here: React Documentation

Documentation Status Netlify Status

Technology

Reverse Proxy: Nginx
Client/Frontend: React
Server/Backend: Django (Restful API)
DB: Postgresql
Testing: Cypress
Deployment: AWS

Media

UX: Demonstration of the site in action

hyperportfolio user video

Devops: How our site is deployed from Master.

hyperportfolio devops video

hyperportfolio's People

Contributors

jayy-lmao 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.