{"id":25745811,"url":"https://github.com/sapiensdata/sapiensdata-api","last_synced_at":"2026-01-08T20:36:56.688Z","repository":{"id":276616776,"uuid":"929758630","full_name":"SapiensData/sapiensdata-api","owner":"SapiensData","description":"🚀 SapiensData API – A modern, scalable REST API built with ASP.NET Core and Entity Framework Core 🛠️. It powers financial insights and IoT data processing, providing a secure and efficient backend for the SapiensData platform","archived":false,"fork":false,"pushed_at":"2025-02-23T21:35:22.000Z","size":296,"stargazers_count":1,"open_issues_count":7,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-23T22:23:40.361Z","etag":null,"topics":["asp-net-core","code-f","data-science","database","linq","rest-api","tsql"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SapiensData.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-09T10:31:04.000Z","updated_at":"2025-02-23T21:35:26.000Z","dependencies_parsed_at":"2025-02-09T13:24:03.920Z","dependency_job_id":"44549100-d697-47ce-add6-46ae9c594e9d","html_url":"https://github.com/SapiensData/sapiensdata-api","commit_stats":null,"previous_names":["sapiensdata/api","sapiensdata/sapiensdata-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fsapiensdata-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fsapiensdata-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fsapiensdata-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fsapiensdata-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SapiensData","download_url":"https://codeload.github.com/SapiensData/sapiensdata-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840487,"owners_count":19866229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net-core","code-f","data-science","database","linq","rest-api","tsql"],"created_at":"2025-02-26T11:19:52.592Z","updated_at":"2026-01-08T20:36:51.636Z","avatar_url":"https://github.com/SapiensData.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SapiensData.API\n\nWelcome to **SapiensData API**! This RESTful API is designed to support the **SapiensData** project, providing backend services for personal accounting, receipt scanning, analysis, and management. Built with ASP.NET Core, it supports functionalities for CRUD operations, database management, and secure data processing.\n\n## 🚀 Features\n\n- **CRUD Operations** for handling personal and financial data, receipts, and user management.\n- **Entity Framework Core** for efficient data access and management.\n- **SQL Server** integration for reliable, scalable storage.\n- **Swagger UI** for interactive API documentation and testing.\n- **Clean and Modular Architecture** optimized for ease of development and scalability.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch2\u003e🛠️ Getting Started\u003c/h2\u003e\u003c/summary\u003e\n\nFollow these steps to set up and run the project on your local machine for development and testing.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003ePrerequisites\u003c/h3\u003e\u003c/summary\u003e\n\nPlease ensure you have the following installed:\n\n- [Visual Studio 2022](https://visualstudio.microsoft.com/) with the .NET Core cross-platform development workload.\n- [.NET SDK version 9.0](https://dotnet.microsoft.com/download/dotnet/9.0)\n- [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads) or LocalDB for local development.\n- [Git](https://git-scm.com/)\n- For your own .ENV:\n  - Sapiens API key to connect to and authorize the SapiensDataAPI subproject (identical to your `SAPIENS_API_KEY` variable from `Analytics/.env.dev`)\n  - A Google Drive folder path\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003e🔧 Setup Instructions\u003c/h3\u003e\u003c/summary\u003e\n\n1. **Open the Project in Visual Studio**:\n   - Navigate to the `SapiensDataAPI` folder and open `SapiensData.API.sln`.\n\n2. **Set Up Environment Variables**:\n\nBe ensure that you'r in the `./SapiensDataAPI/SapiensDataAPI` path.\n\n```bash\ncp .env.example .env\n```\n\n🛠️ **Edit `.env.dev` and set required values.**\n\n1. **Install / Update the Database**:\n   - Run the following commands in the **NuGet Package Manager Console**:\n\n   ```bash\n   Update-Database\n   ```\n\n   ```bash\n   # Update Database Command\n   ## If you're using Entity Framework Core:\n   EntityFrameworkCore\\Update-Database \n   ## or \n   dotnet ef database update\n   dotnet ef database update --project SapiensDataAPI\n   ```\n\n2. **Run the Application**:\n   - Press `F5` or click the **Run** button in Visual Studio. The API will run on `https://localhost:5001` (or a different port if configured).\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003e🧪 Testing\u003c/h3\u003e\u003c/summary\u003e\n\n- **Swagger UI** provides an interactive interface to test each API endpoint.\n- Use tools like [Postman](https://www.postman.com/) or [curl](https://curl.se/) for additional testing.\n\n\u003c/details\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapiensdata%2Fsapiensdata-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapiensdata%2Fsapiensdata-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapiensdata%2Fsapiensdata-api/lists"}