Skip to content

lovecrimecode/ServiceSphere

Repository files navigation

ServiceSphere

ServiceSphere is a modular event management platform built with ASP.NET Core (.NET 8) and Entity Framework Core. It consists of a RESTful API and a Razor Pages web application for managing events, guests, services, suppliers, and organizers.

Projects

  • ServiceSphere.API: ASP.NET Core Web API for backend data access and business logic.
  • ServiceSphere.Web: ASP.NET Core Razor Pages web application for user interaction.
  • ServiceSphere.Domain: Domain models and repository interfaces.
  • ServiceSphere.Application: Application services.
  • ServiceSphere.Infrastructure: EF Core context and repository implementations.

Features

  • CRUD operations for Events, Guests, Services, Suppliers, and Organizers.
  • RESTful API endpoints with Swagger documentation.
  • Razor Pages web interface.
  • SQLite database (easy to switch to other providers).

Getting Started

Prerequisites

Setup

  1. Clone the repository

    git clone https://github.com/lovecrimecode/ServiceSphere cd ServiceSphere
  2. Configure Connection Strings

  • Edit appsettings.json in both ServiceSphere.API and ServiceSphere.Web to set your SQLite connection string:
    "ConnectionStrings": {
      "DefaultConnection": "Data Source=servicesphere.db"
    }
  1. Apply Migrations
  • Open a terminal in the solution directory and run:
    dotnet ef database update --project ServiceSphere.Infrastructure
  • Or use Visual Studio’s Package Manager Console:
    PM> Update-Database -Project ServiceSphere.Infrastructure
    
  1. Run the API
  • In Visual Studio, set ServiceSphere.API as the startup project and run.
  • The API will be available at https://localhost:5001 (or configured port).
  • Swagger UI: https://localhost:5001/swagger
  1. Run the Web App
  • Set ServiceSphere.Web as the startup project and run.
  • The web interface will be available at https://localhost:5002 (or configured port).

Usage

  • Use the web interface (ServiceSphere.Web) to manage events, guests, services, suppliers, and organizers.
  • Use the API (ServiceSphere.API) for programmatic access or integration.
  • API documentation is available via Swagger.

Technologies

  • ASP.NET Core (.NET 8, C# 12)
  • Entity Framework Core (EF Core) with SQLite
  • Razor Pages & MVC
  • Swagger (OpenAPI)
  • Dependency Injection

About

Sistema de gestión de eventos sociales

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages