Skip to content

Commit

Permalink
Merge pull request #9 from jakubsvobodacz/contact-modal
Browse files Browse the repository at this point in the history
Contact modal
  • Loading branch information
jakubsvobodacz authored Dec 11, 2024
2 parents cea24c1 + f128004 commit 1470d1e
Show file tree
Hide file tree
Showing 14 changed files with 822 additions and 785 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main_jakubsvoboda-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
AZURE_FUNCTIONAPP_PACKAGE_PATH: '/backend' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '20.x' # set this to the node version to use (supports 8.x, 10.x, 12.x)

jobs:
Expand Down Expand Up @@ -47,8 +47,8 @@ jobs:
runs-on: ubuntu-latest
needs: build

permissions:
id-token: write #This is required for requesting the JWT
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
Expand All @@ -58,13 +58,13 @@ jobs:

- name: Unzip artifact for deployment
run: unzip release.zip

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_FAFE1C54DBB54F38AC3CBAC73819D9C7 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_2C3AC1D1FF8F4137B65559C7505D4668 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D9C540FBC99F438EBAC1C7F9F605928E }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_FAFE1C54DBB54F38AC3CBAC73819D9C7 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_2C3AC1D1FF8F4137B65559C7505D4668 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D9C540FBC99F438EBAC1C7F9F605928E }}

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
Expand Down
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
4 changes: 0 additions & 4 deletions backend/.env

This file was deleted.

10 changes: 10 additions & 0 deletions backend/.funcignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.js.map
*.ts
.git*
.vscode
local.settings.json
test
getting_started.md
node_modules/@types/
node_modules/azure-functions-core-tools/
node_modules/typescript/
48 changes: 48 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
bin
obj
csx
.vs
edge
Publish

*.user
*.suo
*.cscfg
*.Cache
project.lock.json

/packages
/TestResults

/tools/NuGet.exe
/App_Data
/secrets
/data
.secrets
appsettings.json
local.settings.json

node_modules
dist

# Local python packages
.python_packages/

# Python Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Azurite artifacts
__blobstorage__
__queuestorage__
__azurite_db*__.json
5 changes: 5 additions & 0 deletions backend/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"ms-azuretools.vscode-azurefunctions"
]
}
15 changes: 15 additions & 0 deletions backend/host.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
11 changes: 0 additions & 11 deletions backend/index.js

This file was deleted.

Loading

0 comments on commit 1470d1e

Please sign in to comment.