Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
3ff483d
Base project: Contains examples of requests and data controllers.
NotAsasha Apr 8, 2026
387e138
Implemented Backend Logic for User Registration
viktoriiaa19 Apr 12, 2026
ac12504
Changed restrictions and conf email details
viktoriiaa19 Apr 15, 2026
65ce767
Merge pull request #1 from VersumLog/initial-project
NotAsasha Apr 15, 2026
e80e65a
Deleted ConfirmPassword
viktoriiaa19 Apr 16, 2026
11a2ed8
Merge pull request #2 from VersumLog/feature/user-registration-backend
ViktoriaVamp Apr 19, 2026
e315544
Feature/user login backend
Reych7 Apr 19, 2026
6813ac5
Feature/user forgot password backend
Tachyon64 Apr 20, 2026
5b8d488
Hotfixed Emails being sent to an incorrect address
Tachyon64 Apr 20, 2026
9cd6a14
Feature/password reset email template
Tachyon64 Apr 22, 2026
356bc36
Feature/registration email confirmation (#7)
ViktoriaVamp Apr 25, 2026
6de6eb6
Feature/user forgot password backend fix
Tachyon64 Apr 25, 2026
9c6439f
Add or update the Azure App Service build and deployment workflow config
NotAsasha Apr 26, 2026
08f0714
Add or update the Azure App Service build and deployment workflow config
NotAsasha Apr 26, 2026
ef327ca
Add or update the Azure App Service build and deployment workflow config
NotAsasha Apr 26, 2026
aff7ad7
Configured CORS for public domain (#10)
NotAsasha Apr 26, 2026
ff1faea
Feature/change profile information (#9)
Tachyon64 Apr 26, 2026
a859c1a
[HOTFIX] Fixed users not being able to keep their username when chang…
Tachyon64 Apr 27, 2026
35e5994
[Feature] Profile Page Get Info (#11)
NotAsasha Apr 27, 2026
f47b9d9
[Fix] Profile page url fix (#13)
NotAsasha Apr 27, 2026
1714fe1
[Feature] Profile Page Ownership Check (#15)
NotAsasha Apr 28, 2026
551ce8d
Feature/become author badge (#14)
ViktoriaVamp Apr 29, 2026
4382f69
Feature/delete account (#16)
Reych7 Apr 30, 2026
eb1bbe3
[FIX] Delete Account: Guid error fix (#17)
NotAsasha Apr 30, 2026
6d8968c
[FIX] More login return data (#18)
NotAsasha May 2, 2026
97727b3
[FIX] Post table rework (#19)
Tachyon64 May 3, 2026
5337865
[FIX] GetUserInfo retrns IsAuthor (#22)
NotAsasha May 4, 2026
b45950d
[Feature] Implement endpoints for publish and create draft (TO BE REW…
ViktoriaVamp May 7, 2026
fdc5afd
Test/add x unit tests (#21)
ViktoriaVamp May 7, 2026
b6fc27b
[Fix] Added context dependency
NotAsasha May 7, 2026
ec72e6b
[TEST] Added automatic testing for GitHub actions
NotAsasha May 7, 2026
6f9f753
[FIX] Test folder configured
NotAsasha May 7, 2026
d7f92b1
[FIX] Fixed test folder
NotAsasha May 7, 2026
ee6f4e6
[Fix] Fixed github actions file
NotAsasha May 7, 2026
99ea24c
Feature/create post (#26)
ViktoriaVamp May 9, 2026
7546a9c
[FEATURE] Implement endpoints for post and draft retrieval (#27)
Tachyon64 May 10, 2026
cc8aac8
[FEATURE]Implemented delete post (#28)
ViktoriaVamp May 10, 2026
345b9dd
[FEATURE] Get Drafts method, updated Update Draft method and code cle…
Tachyon64 May 12, 2026
7a7a4e6
Fix/get post (#30)
NotAsasha May 12, 2026
49826bd
[FIX] Fixed mistype in PostToUserPostsGetDto
NotAsasha May 12, 2026
ede18b1
[FIX] Anouthorized users can get posts
NotAsasha May 12, 2026
9856ce4
[FIX]Fix update and publish draft (#31)
ViktoriaVamp May 13, 2026
4401134
Feature/follow (#25)
Reych7 May 13, 2026
45d9f95
[FIX] Added context to migrations
NotAsasha May 13, 2026
8196ab2
[FIX] Merged Migrations
NotAsasha May 13, 2026
e882415
feat: add profile statistics and follow system
Reych7 May 14, 2026
55be04f
[Fix] Resolved conflicts
Reych7 May 14, 2026
b797387
Merge pull request #32 from VersumLog/feature/profile-statistics
Reych7 May 14, 2026
083a40c
[FIX] Deleted post are now ignored (#33)
NotAsasha May 14, 2026
354c899
[FIX] Added html sanitizer (#35)
NotAsasha May 17, 2026
f5fde0a
[FIX] Post getters rewrite (#36)
NotAsasha May 18, 2026
da7e13c
[FIX] Genres now shows
NotAsasha May 19, 2026
5dde0ba
[FEATURE] Implement dictionary logic (#38)
ViktoriaVamp May 21, 2026
dd1c9f5
[Feature] Subscribe Notifications (#37)
NotAsasha May 21, 2026
99e75d2
[FIX] fixed tests
NotAsasha May 21, 2026
f0466bb
[FIX] Configured HTML sanitizer
NotAsasha May 21, 2026
9bc6863
[TEST] Add unit test for PostService and PostController (#34)
ViktoriaVamp May 24, 2026
c7e85df
[FIX] Minor test fix
NotAsasha May 24, 2026
d2d9ed2
[FIX] Dict: Adding same words with different meanings
NotAsasha May 24, 2026
33a8200
[FIX] Notifications: Now not only realtime
NotAsasha May 24, 2026
6b10e39
[Feature]Like and Comment Post (#39)
Reych7 May 25, 2026
48ad85f
[FEATURE] Implemented Savings logic (#41)
ViktoriaVamp May 25, 2026
57af278
[FIX] Merged migrations
NotAsasha May 25, 2026
6d6f7c6
[FEATURE] Implemented user feed generation (#40)
Tachyon64 May 25, 2026
4d2d907
[FEATURE] Add Genre (#42)
Tachyon64 May 25, 2026
47e36c4
[FIX] Added stats to PostGetDto
NotAsasha May 25, 2026
37721ab
[Versum] Implemented Versum Social 2
NotAsasha May 25, 2026
9f8884d
[FIX] Implemented feed generation for unauthorized users
Tachyon64 May 27, 2026
9ae1ba4
[FIX] Added other types of notifications (#44)
NotAsasha May 31, 2026
d4058de
[FIX] Test fixed
NotAsasha May 31, 2026
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
68 changes: 68 additions & 0 deletions .github/workflows/develop_versum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy ASP.Net Core app to Azure Web App - Versum

on:
push:
branches:
- develop
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read #This is required for actions/checkout

steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.x'

- name: Test
run: dotnet test TestProject/VersumTestProject.csproj --configuration Release --no-restore

- name: Build with dotnet
run: dotnet build --configuration Release

- name: dotnet publish
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: ${{env.DOTNET_ROOT}}/myapp

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write #This is required for requesting the JWT
contents: read #This is required for actions/checkout

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_E1A151645519484388D8610703C3F319 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7EA0EA099A634F608D8A7349EBE6DAFE }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_89B30947B5B34F7B8B916AF82746C262 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'Versum'
slot-name: 'Production'
package: .

15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore


appsettings.Development.json
appsettings.Local.json
UserSecrets/


# User-specific files
*.rsuser
*.suo
Expand Down Expand Up @@ -416,3 +422,12 @@ FodyWeavers.xsd
*.msix
*.msm
*.msp

# Postman
*.postman_environment.json
*.postman_globals.json

# Postman local settings and metadata
.postman/
postman/
*.yaml
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# my-project-backend
# VersomLog-backend

# ВСТАНОВЛЕННЯ
1. Встанови Visual Studio 2026 та .NET 10 SDK.

2. У Visual Studio Installer обери вкладку "ASP.NET and web development" (перша галочка).

3. Створи в папці проекту файл appsettings.Development.json (якщо його немає).

4. Скопіюй туди Connection String від актуальної бази даних (запитай у саші або візьми з закріплених повідомлень).

5. Відкрий проект (.sln) у Visual Studio. Вона автоматично почне скачувати пакети (Restore NuGet Packages).

Якщо ти щось написав в коді, оновити базу даних можна так:
Відкрий Package Manager Console (Tools -> NuGet Package Manager) та введи:
Add-Migration "Назва Зміни"
Update-Database

Для запуску:
Натисни F5 (зелена стрілочка зверху) у Visual Studio.
При першому запуску будуть просити створити локальний Ssl ключ, просто зі всім погоджуйся

Результат зазвичай за посиланнями:
https://localhost:7014/swagger/
http://localhost:5056/swagger/
Loading
Loading