{"id":22807974,"url":"https://github.com/nxdun/memeapp","last_synced_at":"2026-05-15T22:41:29.382Z","repository":{"id":265237693,"uuid":"895547571","full_name":"nxdun/MemeApp","owner":"nxdun","description":"A Simple Dotnet Application, Used Migration ","archived":false,"fork":false,"pushed_at":"2024-11-28T13:11:26.000Z","size":1004,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T20:52:30.719Z","etag":null,"topics":["crud","csharp","dotnet-core","sql"],"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/nxdun.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":"2024-11-28T12:16:14.000Z","updated_at":"2024-11-28T13:11:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"33a4944a-39ea-4600-af70-2af1cabaa7d8","html_url":"https://github.com/nxdun/MemeApp","commit_stats":null,"previous_names":["nxdun/memeapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxdun%2FMemeApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxdun%2FMemeApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxdun%2FMemeApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxdun%2FMemeApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxdun","download_url":"https://codeload.github.com/nxdun/MemeApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379379,"owners_count":20767696,"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":["crud","csharp","dotnet-core","sql"],"created_at":"2024-12-12T11:07:25.704Z","updated_at":"2026-05-15T22:41:29.298Z","avatar_url":"https://github.com/nxdun.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 😂 Meme App - A Fun CRUD Project with .NET C# and SQL Server 🎉\n\nWelcome to **Jokes App**, a delightful application where you can **Create**, **Read**, **Update**, and **Delete** jokes. Built with the power of `.NET C#` and **SQL Server**, this app will tickle your funny bone while showcasing clean and efficient CRUD operations.  \n\n---\n\n## 📋 Table of Contents\n1. [📖 About](#-about)\n2. [🚀 Features](#-features)\n3. [🛠 Prerequisites](#-prerequisites)\n4. [📥 Installation Guide](#-installation-guide)\n5. [🏃 Running Guide](#-running-guide)\n6. [🛢 SQL Server Configuration](#-sql-server-configuration)\n7. [📌 API Endpoints](#-api-endpoints)\n8. [📸 Screenshots](#-screenshots)\n9. [💡 Jokes API Example](#-jokes-api-example)\n10. [📜 License](#-license)\n\n---\n\n## 📖 About\nThe **Jokes App** is a CRUD-based project where users can manage jokes through a seamless UI. The backend is powered by `.NET C#`, while SQL Server handles data storage. Perfect for learning or showcasing **CRUD operations** with a sprinkle of humor!\n\n---\n\n## 🚀 Features\n✅ Add your favorite jokes  \n✅ View all jokes with pagination  \n✅ Edit existing jokes  \n✅ Delete jokes you no longer find funny  \n\n---\n\n## 🛠 Prerequisites\nBefore you begin, ensure you have the following tools installed:\n\n| **Tool**            | **Version**                  |\n|---------------------|------------------------------|\n| Visual Studio       | 2022 or later               |\n| .NET SDK            | 6.0 or later                |\n| SQL Server          | 2019 or later               |\n| Entity Framework    | Core 6.0                    |\n\n---\n\n## 📥 Installation Guide\n1. Clone the repository:  \n   ```bash\n   git clone https://github.com/your-username/jokes-app.git\n   cd jokes-app\n   ```\n\n2. Open the project in **Visual Studio**.\n\n3. Restore NuGet packages:  \n   ```bash\n   dotnet restore\n   ```\n\n4. Update the **appsettings.json** file with your SQL Server connection string:\n   ```json\n   \"ConnectionStrings\": {\n     \"DefaultConnection\": \"Server=YOUR_SERVER_NAME;Database=JokesDB;Trusted_Connection=True;MultipleActiveResultSets=true\"\n   }\n   ```\n\n5. Run database migrations:  \n   ```bash\n   dotnet ef database update\n   ```\n\n---\n\n## 🏃 Running Guide\n1. Open the project in **Visual Studio**.\n2. Set the startup project to **JokesApp.API**.\n3. Press `F5` or run the project using the play button ▶️.\n4. Access the app at:  \n   **Frontend:** `http://localhost:5000`  \n   **API:** `http://localhost:5000/api/jokes`\n\n---\n\n## 🛢 SQL Server Configuration\n### Step 1: Create the Database\n1. Open **SQL Server Management Studio** (SSMS).\n2. Create a new database called `JokesDB`:\n   ```sql\n   CREATE DATABASE JokesDB;\n   ```\n\n### Step 2: Update Connection String\nUpdate your **appsettings.json** file with your SQL Server name:\n```json\n\"ConnectionStrings\": {\n  \"DefaultConnection\": \"Server=YOUR_SERVER_NAME;Database=JokesDB;Trusted_Connection=True;\"\n}\n```\n\n### Step 3: Run Migrations\nIn the terminal, execute:\n```bash\ndotnet ef migrations add InitialCreate\ndotnet ef database update\n```\n\n---\n\n## 📌 API Endpoints\n| **Method** | **Endpoint**        | **Description**                  |\n|------------|---------------------|----------------------------------|\n| `GET`      | `/api/jokes`        | Fetch all jokes                 |\n| `POST`     | `/api/jokes`        | Add a new joke                  |\n| `PUT`      | `/api/jokes/{id}`   | Update an existing joke         |\n| `DELETE`   | `/api/jokes/{id}`   | Delete a joke                   |\n\n---\n\n## 📸 Screenshots\nComing soon! 🎨\n\n---\n\n## 💡 Jokes API Example\nHere’s a quick joke for you:\n```json\n{\n  \"id\": 1,\n  \"content\": \"Why don’t skeletons fight each other? They don’t have the guts!\"\n}\n```\n\n---\n\n## 📜 License\nThis project is licensed under the MIT License.  \nFeel free to use, modify, and share!\n\n---\n\n✨ *Happy coding! Keep joking!* 🎉 - Nuu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxdun%2Fmemeapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxdun%2Fmemeapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxdun%2Fmemeapp/lists"}