Skip to content

Commit 6768e24

Browse files
authored
Merge pull request #55 from indcoder/Iteration1
Iteration1
2 parents 3be9468 + 5e2c425 commit 6768e24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+176
-26
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,7 @@ __pycache__/
292292

293293

294294
# Exclude solution overview Ppt
295-
solution-overview.pptx
295+
solution-overview.pptx
296+
297+
# Exclude work timing
298+
codealike.json

Frontend/Pages/Index.razor

-7
This file was deleted.

Frontend/codealike.json

-1
This file was deleted.

Visage.Core/Class1.cs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using System;
2+
3+
namespace Visage.Core
4+
{
5+
public class Class1
6+
{
7+
}
8+
}

Visage.Core/Events.cs

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Globalization;
4+
using System.Text.Json;
5+
6+
namespace Visage.Core.Models
7+
{
8+
9+
public partial class Event
10+
{
11+
JsonProperty = System.Text.Json.Serialization.JsonPropertyNameAttribute;
12+
13+
[JsonProperty("name")]
14+
public Description Name { get; set; }
15+
16+
[JsonProperty("id")]
17+
public string Id { get; set; }
18+
19+
[JsonProperty("url")]
20+
public Uri Url { get; set; }
21+
22+
[JsonProperty("vanity_url")]
23+
public Uri VanityUrl { get; set; }
24+
25+
[JsonProperty("start")]
26+
public CompleteDateTime Start { get; set; }
27+
28+
[JsonProperty("end")]
29+
public CompleteDateTime End { get; set; }
30+
31+
[JsonProperty("organization_id")]
32+
public string OrganizationId { get; set; }
33+
34+
[JsonProperty("created")]
35+
public DateTimeOffset Created { get; set; }
36+
37+
38+
[JsonProperty("organizer_id")]
39+
public string OrganizerId { get; set; }
40+
41+
[JsonProperty("venue_id")]
42+
[JsonConverter(typeof(ParseStringConverter))]
43+
public long VenueId { get; set; }
44+
45+
46+
[JsonProperty("resource_uri")]
47+
public Uri ResourceUri { get; set; }
48+
49+
}
50+
51+
public partial class Description
52+
{
53+
[JsonProperty("text")]
54+
public string Text { get; set; }
55+
56+
[JsonProperty("html")]
57+
public string Html { get; set; }
58+
}
59+
60+
public partial class CompleteDateTime
61+
{
62+
[JsonProperty("timezone")]
63+
public string Timezone { get; set; }
64+
65+
[JsonProperty("local")]
66+
public DateTimeOffset Local { get; set; }
67+
68+
[JsonProperty("utc")]
69+
public DateTimeOffset Utc { get; set; }
70+
}
71+
72+
73+
74+
public partial class Original
75+
{
76+
[JsonProperty("url")]
77+
public Uri Url { get; set; }
78+
79+
[JsonProperty("width")]
80+
public object Width { get; set; }
81+
82+
[JsonProperty("height")]
83+
public object Height { get; set; }
84+
}
85+
86+
public partial class Pagination
87+
{
88+
[JsonProperty("object_count")]
89+
public long ObjectCount { get; set; }
90+
91+
[JsonProperty("page_number")]
92+
public long PageNumber { get; set; }
93+
94+
[JsonProperty("page_size")]
95+
public long PageSize { get; set; }
96+
97+
[JsonProperty("page_count")]
98+
public long PageCount { get; set; }
99+
100+
[JsonProperty("continuation")]
101+
public string Continuation { get; set; }
102+
103+
[JsonProperty("has_more_items")]
104+
public bool HasMoreItems { get; set; }
105+
}
106+
}

Visage.Core/Visage.Core.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
</PropertyGroup>
6+
7+
</Project>

Visage.Core/codealike.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"projectId":"6dc79970-557a-11ea-992e-d7fff047ae27","projectName":"Visage.Core"}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Visage.Frontend/Pages/Index.razor

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@page "/"
2+
3+
<h1>Hello, world!</h1>
4+
5+
<div class="alert alert-warning" role="alert">
6+
Before authentication will function correctly, you must configure your provider details in <code>Program.cs</code>
7+
</div>
8+
9+
Welcome to your new app.
10+
11+
<SurveyPrompt Title="How is Blazor working for you?" />

Frontend/Program.cs Visage.Frontend/Program.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
66
using Microsoft.Extensions.DependencyInjection;
77

8-
namespace Frontend
8+
namespace Visage.Frontend
99
{
1010
public class Program
1111
{
@@ -17,6 +17,8 @@ public static async Task Main(string[] args)
1717
builder.Services.AddBaseAddressHttpClient();
1818
builder.Services.AddOidcAuthentication(options =>
1919
{
20+
// Configure your authentication provider options here.
21+
// For more information, see https://aka.ms/blazor-standalone-auth
2022
options.ProviderOptions.Authority = "https://indcoder.auth0.com";
2123
options.ProviderOptions.ClientId = "LmyPloWc6iTqUqZ0iOsXEc2XjcGAulen";
2224
});
@@ -25,4 +27,3 @@ public static async Task Main(string[] args)
2527
}
2628
}
2729
}
28-
File renamed without changes.
File renamed without changes.

Frontend/Shared/NavMenu.razor Visage.Frontend/Shared/NavMenu.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="top-row pl-4 navbar navbar-dark">
2-
<a class="navbar-brand" href="">Frontend</a>
2+
<a class="navbar-brand" href="">Visage.Frontend</a>
33
<button class="navbar-toggler" @onclick="ToggleNavMenu">
44
<span class="navbar-toggler-icon"></span>
55
</button>
File renamed without changes.
File renamed without changes.

Frontend/_Imports.razor Visage.Frontend/_Imports.razor

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
@using Microsoft.AspNetCore.Components.Routing
55
@using Microsoft.AspNetCore.Components.Web
66
@using Microsoft.JSInterop
7-
@using Frontend
8-
@using Frontend.Shared
7+
@using Visage.Frontend
8+
@using Visage.Frontend.Shared
File renamed without changes.
File renamed without changes.
File renamed without changes.

Frontend/wwwroot/index.html Visage.Frontend/wwwroot/index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width" />
7-
<title>Frontend</title>
8-
<base href="/" />
7+
<title>Visage.Frontend</title>
8+
<base href=" /" />
99
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
1010
<link href="css/site.css" rel="stylesheet" />
1111
<link href="manifest.json" rel="manifest" />
@@ -25,3 +25,4 @@
2525
</body>
2626

2727
</html>
28+

Frontend/wwwroot/manifest.json Visage.Frontend/wwwroot/manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Frontend",
3-
"short_name": "Frontend",
2+
"name": "Visage.Frontend",
3+
"short_name": "Visage.Frontend",
44
"start_url": "/",
55
"display": "standalone",
66
"background_color": "#ffffff",
File renamed without changes.

Visage.sln

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{91883382
1717
EndProject
1818
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Checkins.UnitTests", "Checkins.UnitTests\Checkins.UnitTests.csproj", "{61947BEF-FD71-4D46-868F-10F510FA65CD}"
1919
EndProject
20-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Frontend", "Frontend\Frontend.csproj", "{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}"
20+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Visage.Frontend", "Visage.Frontend\Visage.Frontend.csproj", "{9646C966-1E9D-4729-A739-69286FCC9C28}"
2121
EndProject
2222
Global
2323
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -33,10 +33,10 @@ Global
3333
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
3434
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
3535
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Release|Any CPU.Build.0 = Release|Any CPU
36-
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37-
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Debug|Any CPU.Build.0 = Debug|Any CPU
38-
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Release|Any CPU.ActiveCfg = Release|Any CPU
39-
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{9646C966-1E9D-4729-A739-69286FCC9C28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{9646C966-1E9D-4729-A739-69286FCC9C28}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{9646C966-1E9D-4729-A739-69286FCC9C28}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{9646C966-1E9D-4729-A739-69286FCC9C28}.Release|Any CPU.Build.0 = Release|Any CPU
4040
EndGlobalSection
4141
GlobalSection(SolutionProperties) = preSolution
4242
HideSolutionNode = FALSE

design/BigPictureEventStorming.png

702 KB

services/CheckingIn/CheckingIn.svg

+3

services/GetAllUpcomingEvents/.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"azureFunctions.deploySubpath": "bin/Release/netcoreapp3.0/publish",
2+
"azureFunctions.deploySubpath": "bin/Release/netcoreapp3.1/publish",
33
"azureFunctions.projectLanguage": "C#",
44
"azureFunctions.projectRuntime": "~3",
55
"debug.internalConsoleOptions": "neverOpen",

services/GetAllUpcomingEvents/GetAllUpcomingEvents.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.0</TargetFramework>
3+
<TargetFramework>netcoreapp3.1</TargetFramework>
44
<AzureFunctionsVersion>v3</AzureFunctionsVersion>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.30-beta2" />
7+
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.1"/>
88
</ItemGroup>
99
<ItemGroup>
1010
<None Update="host.json">

services/Scheduling/Scheduling.svg

+3

services/Shortlisting/Shortlisting.svg

+3
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@baseURL = www.eventbriteapi.com/v3
2+
3+
# @name InitialOwnedEvents
4+
GET https://{{baseURL}}/users/me/owned_events HTTP/1.1
5+
Authorization: Bearer {{bearer}}
6+
7+
###
8+
9+
# @name SubsequentOwnedEvents
10+
GET https://{{baseURL}}/users/me/owned_events?continuation={{InitialOwnedEvents.response.body.pagination.continuation}} HTTP/1.1
11+
Authorization: Bearer {{bearer}}

0 commit comments

Comments
 (0)