Skip to content

Commit

Permalink
Merge pull request #23 from cmaloney111/main
Browse files Browse the repository at this point in the history
Final pull request from working CI/CD fork
  • Loading branch information
cmaloney111 authored Jun 7, 2024
2 parents 4d125ab + acc7940 commit 88c9e37
Show file tree
Hide file tree
Showing 29 changed files with 3,209 additions and 2,776 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
with:
submodules: true
lfs: false
- name: Install dependencies
run: npm ci
- run: npm ci
- run: npm run build
- 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_RED_FIELD_0505D1E1E }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_GROUND_0CD068C1E }}
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. ######
Expand All @@ -34,6 +34,7 @@ jobs:
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######
- run: cd packages/react-frontend && tree

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand All @@ -44,5 +45,5 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_FIELD_0505D1E1E }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_GROUND_0CD068C1E }}
action: "close"
76 changes: 0 additions & 76 deletions .github/workflows/main_safehaven307.yml

This file was deleted.

31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,36 @@ Project Description:
SafeHaven is a company dedicated to optimizing storage management solutions for businesses. Our product scales easily, displays critical order insights, and is affordably priced.
We offer a seamless inventory and order tracking system, suiting the needs of businesses in many industries.


Note for grader: Sequence Diagrams are the two '.png' files in the root of the repo

To run from the repository's root folder, install concurrently with:

```
npm install concurrently
```

Then simply run with:

```
npm start
```

or run the development mode with

```
npm run dev
```

Also, make sure to create a .env file in express-backend and add
`MONGODB_URI = "your_connection_string"`
and
`TOKEN_SECRET = 1234`

Project Description:
SafeHaven is a company dedicated to optimizing storage management solutions for businesses. Our product scales easily, displays critical order insights, and is affordably priced.
We offer a seamless inventory and order tracking system, suiting the needs of businesses in many industries.


CSC307 Safe Haven Demo Video:
https://youtu.be/EfknrWC4x_U
Loading

0 comments on commit 88c9e37

Please sign in to comment.