Skip to content

Stock-trading site using React, Django, Postgresql.

Notifications You must be signed in to change notification settings

jayy-lmao/Hyperportfolio

Repository files navigation

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

About

Stock-trading site using React, Django, Postgresql.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published