Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
pull_request:
branches: [develop, main]

jobs:
frontend:
name: Frontend CI
runs-on: ubuntu-latest
defaults:
run:
working-directory: Evand-Frontend/package-lock.json

steps:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- cd Evnad-Frontend
- run: npm ci
- run: npm run build

backend:
name: Backend CI
runs-on: ubuntu-latest
defaults:
run:
working-directory: Evand-Backend

steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x

- run: dotnet restore
- run: dotnet build --no-restore
- run: dotnet test --no-build
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -482,3 +482,28 @@ $RECYCLE.BIN/

# Vim temporary swap files
*.swp

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions Evand-Backend/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "Evand.sln"
}
6 changes: 6 additions & 0 deletions Evand-Backend/Evand.API/Evand.API.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@Evand.API_HostAddress = http://localhost:5295

GET {{Evand.API_HostAddress}}/weatherforecast/
Accept: application/json

###
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": false,
"applicationUrl": "http://localhost:5024",
"applicationUrl": "http://localhost:5295",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand All @@ -14,7 +14,7 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": false,
"applicationUrl": "https://localhost:7055;http://localhost:5024",
"applicationUrl": "https://localhost:7193;http://localhost:5295",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
34 changes: 34 additions & 0 deletions Evand-Backend/Evand.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Evand.API", "Evand.API\Evand.API.csproj", "{60A16710-9DAA-40DA-B7E8-D261849A0B4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|x64.ActiveCfg = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|x64.Build.0 = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|x86.ActiveCfg = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Debug|x86.Build.0 = Debug|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|Any CPU.Build.0 = Release|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|x64.ActiveCfg = Release|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|x64.Build.0 = Release|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|x86.ActiveCfg = Release|Any CPU
{60A16710-9DAA-40DA-B7E8-D261849A0B4D}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
134 changes: 129 additions & 5 deletions Evnad-Frontend/package-lock.json → Evand-Frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions Evand.Backend.Api/Evand.Backend.Api.http

This file was deleted.

24 changes: 0 additions & 24 deletions Evnad-Frontend/.gitignore

This file was deleted.

Loading