-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/eethansmith/website into main
- Loading branch information
Showing
6 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
.github/workflows/azure-static-web-apps-purple-cliff-0424d8803.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Azure Static Web Apps CI/CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened, closed] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build_and_deploy_job: | ||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') | ||
runs-on: ubuntu-latest | ||
name: Build and Deploy Job | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
lfs: false | ||
- name: Build And Deploy | ||
id: builddeploy | ||
uses: Azure/static-web-apps-deploy@v1 | ||
with: | ||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_CLIFF_0424D8803 }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) | ||
action: "upload" | ||
###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### | ||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | ||
app_location: "/frontend" # App source code path | ||
api_location: "" # Api source code path - optional | ||
output_location: "build" # Built app content directory - optional | ||
###### End of Repository/Build Configurations ###### | ||
|
||
close_pull_request_job: | ||
if: github.event_name == 'pull_request' && github.event.action == 'closed' | ||
runs-on: ubuntu-latest | ||
name: Close Pull Request Job | ||
steps: | ||
- name: Close Pull Request | ||
id: closepullrequest | ||
uses: Azure/static-web-apps-deploy@v1 | ||
with: | ||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_CLIFF_0424D8803 }} | ||
action: "close" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
# website | ||
|
||
## investment portfolio progject | ||
|
||
# Investment Portfolio Website | ||
## What does it do? | ||
- Using screenshot images of stock purchases form a csv of market transactions and history | ||
- analysing investment data from csv to prepare for visualisation | ||
- visualising investment data on graphing library | ||
### Next Step | ||
- making csv into json | ||
- make visualisation on website | ||
- Analysing investment data from csv to prepare for visualisation | ||
- Visualising investment data on graphing library | ||
- Turning csv into a JSON file to be used in Database for transactions | ||
- Making a React js front end to visualise my investments and graphs | ||
- Setting up Django backend to feed API data from the database for display on react | ||
- Live data using yfinanace and refreshing to get constant gain/loss percentages | ||
- Each stock is a button that shows breakdown of that stock holding on a graph | ||
### What do I still need to make it do? | ||
- Other tabs for specific breakdowns | ||
- Overall portfolio graph | ||
- Formatting react app for smaller screens & phone screens | ||
- Daily/Monthly/Yearly View | ||
|
||
![Screenshot showing the main view of the Investment Portfolio Overview page.](./screenshots/img2.png) | ||
![Screenshot showing the current holdings of the Investment Portfolio Overview page.](./screenshots/img3.png) | ||
![Screenshot showing the historic holdings of the Investment Portfolio Overview page.](./screenshots/img1.png) | ||
![Screenshot showing the backend API for the app, in this example it is fetching data of transactions and valuations of Apple stock.](./screenshots/img4.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.