{"id":19244586,"url":"https://github.com/aykhan019/zust","last_synced_at":"2026-04-11T11:34:25.538Z","repository":{"id":178949388,"uuid":"662049597","full_name":"aykhan019/Zust","owner":"aykhan019","description":"Zust Social Media App is a social networking platform built with ASP.NET and Entity Framework, offering features like user authentication and social interactions. This exam project is licensed under MIT.","archived":false,"fork":false,"pushed_at":"2024-09-15T12:11:12.000Z","size":61188,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T04:18:26.618Z","etag":null,"topics":["asp-net","authentication","authorization","automapper","bootstrap","cloudinary","csharp","database","dotnet","identityuser","monolith-architecture","mvc","repository-pattern","signalr","social-media","sql","token"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=vOdeSuh_zMY","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aykhan019.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-07-04T08:47:05.000Z","updated_at":"2024-09-15T13:00:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8560a5d-1c3f-4666-b8b8-1b5cbffe087f","html_url":"https://github.com/aykhan019/Zust","commit_stats":null,"previous_names":["drongo-j/zust","aykhan019/zust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FZust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FZust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FZust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FZust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aykhan019","download_url":"https://codeload.github.com/aykhan019/Zust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240331363,"owners_count":19784646,"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","authentication","authorization","automapper","bootstrap","cloudinary","csharp","database","dotnet","identityuser","monolith-architecture","mvc","repository-pattern","signalr","social-media","sql","token"],"created_at":"2024-11-09T17:24:08.832Z","updated_at":"2026-04-11T11:34:25.532Z","avatar_url":"https://github.com/aykhan019.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zust Social Media App - Getting Started Guide\n\nWelcome to Zust Social Media App! This guide will help you get started with setting up and running the application using Visual Studio 2022. The app utilizes Entity Framework Code First approach and requires a SQL database with the necessary data. Before you proceed, ensure that you have the following prerequisites installed:\n\n1. Visual Studio 2022 (or a compatible version).\n2. SQL Server (Express Edition or higher) or SQL Server LocalDB.\n\n## Clone the Repository\n\nTo get started, first, you need to clone the GitHub repository to your local machine. You can do this by following these steps:\n\n1. Open a terminal or command prompt.\n2. Change the current working directory to the location where you want to clone the repository.\n3. Execute the following command:\n\n```bash\ngit clone https://github.com/aykhan019/Zust\n```\n\n## Set Connection String\n\nThe connection string is read from the `appsettings.json` file, and it is already provided with a default value. There is no need to change the connection string unless you want to use a specific SQL Server instance or database name. If you wish to use the default settings, you can proceed to the next step.\n\n## Set Up the Database\n\nNext, we'll set up the SQL database for Zust Social Media App using Entity Framework Code First. Follow these steps to create the database and apply the initial migrations:\n\n1. Open Visual Studio 2022.\n2. Open the solution file (`Zust.sln`).\n3. In the Solution Explorer, locate the `Zust.Web` project and make sure it's set as the startup project (right-click on the project and select \"Set as Startup Project\").\n4. Open the Package Manager Console (PMC) from the Visual Studio menu: Tools \u003e NuGet Package Manager \u003e Package Manager Console.\n5. In the PMC, make sure that the \"Default Project\" selected is `Zust.Web`.\n6. Run the following command to create a new migration:\n\n```bash\nAdd-Migration InitialCreate\n```\n\nThis command will generate a migration file based on the changes in the model classes.\n\n7. After creating the migration, run the following command to apply the initial migrations and create the database:\n\n```bash\nUpdate-Database\n```\n\nThe `Update-Database` command will create the database and set up the required tables based on the defined model classes.\n\nPlease note that `Add-Migration` needs to be run whenever you make changes to the model classes or database schema in the future. It generates new migrations to capture those changes, and you need to run `Update-Database` again to apply those changes to the database.\n\n## Insert Initial Data\n\nNow that the database is set up with the required tables, you need to insert the initial data into the database. Zust Social Media App provides SQL scripts to insert the initial data. Follow these steps to insert the data:\n\n1. Open the Solution Explorer.\n2. Navigate to the `Database` folder.\n3. Locate the file named `SqlInsertStatements.sql`.\n4. Execute the SQL script by running it on your preferred database management tool or environment.\n\n## Run the Application\n\nNow that the database is set up with the initial data, and the connection string is configured, you can run the application using Visual Studio 2022. Follow these steps to run the application:\n\n1. Open the solution file (`Zust.sln`) in Visual Studio 2022.\n2. Set the `Zust.Web` project as the startup project (right-click on the project in the Solution Explorer and select \"Set as Startup Project\").\n3. Press F5 or click the \"Start\" button in Visual Studio to run the application.\n\nThe application will build, and a new browser window will open with Zust Social Media App up and running.\n\n## Contributing\n\nIf you'd like to contribute to the project, feel free to fork the repository, make your changes, and submit a pull request.\n\n## Issues and Support\n\nIf you encounter any issues or need support, please check the existing issues on the GitHub repository. If your issue isn't already reported, feel free to open a new one.\n\n## License\n\nZust Social Media App is released under the [MIT License](LICENSE). Feel free to use, modify, and distribute the code as per the terms of the license.\n\n## Project Showcase\n\nCheck out this YouTube video showcasing Zust Social Media App:\n\n\u003ca href=\"https://www.youtube.com/watch?v=vOdeSuh_zMY\"\u003e\n    \u003cimg src=\"https://media.aykhan.net/thumbnails/step-it-academy/asp-net/task27.png\" alt=\"Description\" width=\"100%\"\u003e\n\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykhan019%2Fzust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faykhan019%2Fzust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykhan019%2Fzust/lists"}