Commit graph

44 commits

Author SHA1 Message Date
98b38f645f return created objects 2025-05-13 18:08:51 +05:00
251810c973 fix cors for development, add some forgottend migration 2025-05-08 23:58:13 +05:00
a50bc30f88 minor services fix 2025-04-27 16:07:10 +05:00
edff901b52 add all docs 2025-04-27 16:06:17 +05:00
d692a2e519 DTOs docs 2025-04-27 16:03:56 +05:00
fb3320fe18 add controllers docs 2025-04-27 15:58:51 +05:00
bfcba0beb7 add some filter to see which endpoints require authorization and which not 2025-04-27 15:56:47 +05:00
d8968ce557 add UserContext summary 2025-04-27 15:44:31 +05:00
cd1f98f575 add test docs for swagger 2025-04-27 15:40:57 +05:00
41f747e008 add comments to swagger 2025-04-27 15:36:15 +05:00
cd8df6bf54 probably fix pipeline 2025-04-23 22:36:52 +05:00
60f89fc780 Add CI/CD 2025-04-23 17:13:11 +00:00
8786549e51 swagger goes to api too 2025-04-21 04:28:38 +05:00
c89a87d73c API everywhere 2025-04-21 04:15:40 +05:00
6692a91821 life quality changes
- refactored SurveyController.cs
- added ProducesResponseType to every endpoint in every controller
- remade mappers
2025-04-20 23:12:20 +05:00
9e50b97bc9 less shit code but still not good 2025-04-20 20:33:17 +05:00
ddfb5eff54 added questions output (SHIT CODE) 2025-04-20 20:07:04 +05:00
3bc2181e68 add migrations for new models 2025-04-20 19:39:45 +05:00
585d6ac6e3 going to question management 2025-04-20 19:31:38 +05:00
00e93fde2e implemented custom SurveyService.cs 2025-04-20 15:30:20 +05:00
7a1078457d added UserContext for easy UserId getting
started writing custom services to implement users logic
2025-04-20 15:21:34 +05:00
dbcdfac698 added CreatedBy to surveys 2025-04-19 00:16:07 +05:00
c5a0f7368c added initial migration 2025-04-18 17:35:52 +05:00
6796241f8d Update SurveyLib and downgrade EF Core 2025-04-18 17:34:11 +05:00
e13a2f331a downgrading EF Core 2025-04-18 17:32:47 +05:00
4bfc10d7de registration returns token now 2025-04-18 16:38:30 +05:00
55e82425a9 say NO to try-catch in controllers
- added ExceptionsMiddleware.cs
- added more Exception types
- removed all exceptions logic in controllers
2025-04-18 15:15:32 +05:00
eb271793ad add custom exceptions and start using them in every service 2025-04-18 14:50:01 +05:00
7bff14a66e bub fix 🥺
created authorization service interface
2025-04-18 14:15:52 +05:00
41ff1555f8 moved service to separate project (Kontur developer said "WTF WHY ARE U STORING SERVICES IN INFRASTRUCTURE SLAVA D") 2025-04-18 14:12:00 +05:00
147fb683f7 say NO to Database.EnsureCreated() 2025-04-17 01:08:18 +05:00
4423dc360f registration and authorization 2025-04-17 01:06:08 +05:00
2b5f468b84 can create Surveys for fun now 2025-04-16 21:57:56 +05:00
77a49ff49b created SurveyController for tests 2025-04-16 21:54:48 +05:00
720f041abf guys probably we just created INTEGRATION with our library...... 2025-04-16 21:01:10 +05:00
8c0ba59ff7 Fix for DbContext compatability 2025-04-16 21:00:24 +05:00
c2bcaf0832 massive work on user auth 2025-04-08 19:08:17 +05:00
35331a87f1 i'm not sure what i'm doing 2025-03-25 22:56:35 +05:00
950babb68c Kontur developer assaulted me about using [controller] in route 2025-03-25 22:28:55 +05:00
f9a680c554 started api work 2025-03-25 22:22:57 +05:00
6732613466 idk something about efcore 2025-03-25 22:05:28 +05:00
751b08e805 added Infrastructure 2025-03-25 19:42:06 +05:00
ba7ac36920 start core project
rename project to API
2025-03-25 16:25:43 +05:00
267ca26671 added SurveyBackend solution (just default template for now) 2025-03-12 00:40:58 +05:00