12.11.2020; BBZW-Sursee.
This project was created as part of the technical school. The sensitive files have been removed in this new repository.
https://m150noteify.herokuapp.com
- Visual Studio Code
- ASP.NET Core 5.1
- ASP.NET Core Identity (Claim-based)
- PostgreSQL
- Microsoft OAuth 2.0 authorization (Over Azure)
- Docker (For CD)
- Heroku (Cloud Application Plattform; host)
- XUnit (Unit Tests)
Install the latest .Net SDK
Install the latest PostgreSQL server
The following commands must be executed on the /src/Noteify.Web/ directory.
Add personal PostgreSQL connection informations
dotnet user-secrets set "DbUserId" "YourDbUserName"
dotnet user-secrets set "DbPassword" "YourDbPassword"
dotnet user-secrets set "Authentication:Microsoft:ClientId" "YourClient-ID"
dotnet user-secrets set "Authentication:Microsoft:ClientSecret" "YourClient-Secret"
Navigate to the start project:
cd .\src\Noteify.Web\
Execute project:
dotnet run
Call up the application on:
https://localhost:5001
or
http://localhost:5000
The following environment variables must be set on the corresponding Heroku account:
MICROSOFT_OAUTH_CLIENTID
MICROSOFT_OAUTH_CLIENTSECRET
DATABASE_URL
The preferred time zone:
TZ
For Microsoft OAuth 2.0, the corresponding URI of the website must be stored.
The same Microsoft OAuth 2.0 account cannot be used for local and production authentication. In this exercise, the URI in the same Azure account was changed depending on the usage. I recommend two Azure accounts (one for local and one for production) for extended use, so that the production environment continues to work even when used locally.
This project is licensed under the GNU License - see the LICENSE.md file for details.
Levin Joller
This project is no longer in development. It fulfilled its purpose as an exercise.