{"id":25493794,"url":"https://github.com/sapiensdata/api","last_synced_at":"2025-11-09T02:30:37.319Z","repository":{"id":276616776,"uuid":"929758630","full_name":"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-18T21:35:37.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-18T22:31:35.060Z","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-18T21:35:42.000Z","dependencies_parsed_at":"2025-02-09T13:24:03.920Z","dependency_job_id":"44549100-d697-47ce-add6-46ae9c594e9d","html_url":"https://github.com/SapiensData/api","commit_stats":null,"previous_names":["sapiensdata/api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SapiensData%2Fapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SapiensData","download_url":"https://codeload.github.com/SapiensData/api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565656,"owners_count":19660158,"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-18T23:17:26.781Z","updated_at":"2025-02-18T23:17:27.358Z","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## 🛠️ Getting Started\n\nFollow these steps to set up and run the project on your local machine for development and testing.\n\n### Prerequisites\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### 🔧 Setup Instructions\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### 🧪 Testing\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapiensdata%2Fapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapiensdata%2Fapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapiensdata%2Fapi/lists"}