mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Refactor authentication and database handling
- Introduced `AuthController` for user registration and login. - Added `DatabaseService` to manage user-related database operations. - Created `HelperService` for utility functions like JSON parsing and token generation. - Updated `Program.cs` to register new services and controllers. - Modified `login.js` and `register.js` to use new API endpoints. - Cleaned up project file by removing unused class and ensuring proper compilation. - Overall improvements enhance application structure, security, and functionality.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
<SignAssembly>False</SignAssembly>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="Classes.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.20.1" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.5" />
|
||||
@@ -19,7 +23,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Controllers\" />
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user