{"id":20454173,"url":"https://github.com/gaprogman/narrativia","last_synced_at":"2026-01-06T17:02:34.445Z","repository":{"id":27000707,"uuid":"112119666","full_name":"GaProgMan/Narrativia","owner":"GaProgMan","description":"A blog written in ASP.NET Core and Angular","archived":false,"fork":false,"pushed_at":"2022-06-02T19:34:41.000Z","size":1971,"stargazers_count":1,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T06:42:05.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/GaProgMan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"Code-of-Conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-26T21:54:00.000Z","updated_at":"2024-04-14T06:42:05.859Z","dependencies_parsed_at":"2022-08-26T19:51:45.534Z","dependency_job_id":null,"html_url":"https://github.com/GaProgMan/Narrativia","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaProgMan%2FNarrativia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaProgMan%2FNarrativia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaProgMan%2FNarrativia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaProgMan%2FNarrativia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaProgMan","download_url":"https://codeload.github.com/GaProgMan/Narrativia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224770430,"owners_count":17366931,"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":[],"created_at":"2024-11-15T11:15:13.186Z","updated_at":"2026-01-06T17:02:29.411Z","avatar_url":"https://github.com/GaProgMan.png","language":"C#","funding_links":["https://www.buymeacoffee.com/dotnetcoreshow"],"categories":[],"sub_categories":[],"readme":"# Narrativia\n\nA blog written in ASP.NET Core and Angular\n\n## Note\n\nThis repo is not related to \n[Narrativia](http://www.narrativia.com/) (the production company set up by the lat Sir Terry Pratchett) in anyway; except as a reference to a character in the Discworld series of novels.\n\npsst, this one =\u003e https://wiki.lspace.org/mediawiki/Narrativia_(goddess)\n\n## Licence Used\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSee the contents of the LICENSE file for details\n\n## Support This Project\n\nIf you have found this project helpful, either as a library that you use or as a learning tool, please consider buying me a coffee:\n\n\u003ca href=\"https://www.buymeacoffee.com/dotnetcoreshow\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important\" \u003e\u003c/a\u003e\n\n## Pull Requests\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nPull requests are welcome, but please take a moment to read the Code of Conduct before submitting them or commenting on any work in this repo.\n\n## Code of Conduct\n\nNarrativia has a Code of Conduct which all contributors, maintainers and forkers must adhere to. When contributing, maintaining, forking or in any other way changing the code presented in this repository, all users must agree to this Code of Conduct.\n\nSee [Code of Conduct.md](Code-of-Conduct.md) for details.\n\n## Requirements\n\nNarrativia requires the following software to be installed on the dev machine in order to build it:\n\n - [.NET Core SDK 2.0+](dot.net/core)\n - [NodeJs LTS](https://nodejs.org/en/)\n\n## Running The Application\n\n1. Ensure that the `appsettings.json` file contains a valid `ConnectionStrings` section.\n\nYou will need two connection strings:\n\n* narrativiaDataConnection\n\nThis is the database which will contain all of the blog posts, comments and meta data\n\nExample ConnectionStrings section:\n\n    \"ConnectionStrings\": {\n      \"narrativiaDataConnection\": \"DataSource=narrativiaData.db\"\n    },\n\n2. Open a command prompt in the `Narrativia.Ui` directory\n\nIssue the following commands to set up the databases:\n\n    dotnet restore\n\nCheck for migrations in the `Narrativia.Repository.Data` directory. If there isn't a directory labelled `Migrations`, then run the following (from the `Narrativia.Ui`) directory to generate them:\n\n    dotnet ef migrations add InitialMigration -c DataContext -p ../Narrativia.Repository/Narrativia.Repository.csproj -s Narrativia.Ui.csproj\n\nApply all migrations to the database by running the following commands (from the `Narrativia.Ui` directory):\n\n    dotnet ef database update -c DataContext -p ../Narrativia.Repository/Narrativia.Repository.csproj -s Narrativia.Ui.csproj\n\n3. Restore all npm packages\n\nIssue the following command from the `Narrativia.Ui` directory:\n\n    npm install\n\n4. Run the application and seed the database\n\nIssue the following command from the `Narrativia.Ui` directory:\n\n    dotnet run\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaprogman%2Fnarrativia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaprogman%2Fnarrativia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaprogman%2Fnarrativia/lists"}