Initial Commit

Inital Commit of Code base, nothing tested.
This commit is contained in:
Mario Steele 2025-07-19 04:02:09 -05:00
commit 0144221712
31 changed files with 1304 additions and 0 deletions

24
FreeTubeSync/Program.cs Normal file
View file

@ -0,0 +1,24 @@
using FreeTubeSync;
using FreeTubeSync.Database;
using FreeTubeSync.EndPoints;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddDbContext<DataContext>();
builder.Services.AddScoped(typeof(IRepository<>), typeof(Repository<>));
// Add services to the container.
var app = builder.Build();
app.MapHistoryEndpoints();
app.MapPlaylistEndpoints();
app.MapProfileEndpoints();
app.MapSearchHistoryEndpoints();
app.MapSettingEndpoints();
app.Run();