mycms

A simple headless CMS

https://github.com/manuelebagnolini/mycms

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

A simple headless CMS

Basic Info
  • Host: GitHub
  • Owner: manuelebagnolini
  • License: mit
  • Language: C#
  • Default Branch: main
  • Size: 654 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 6
  • Releases: 0
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme Funding License Citation Codeowners Security

README.md

MyCMS

build issues license

MyCMS is a simple, lightweight headless CMS queryable via a single GraphQL endpoint.

It's based on a relational database table structure able to create custom attribute for every type of content defined in your project.

Status

  • ⚠️This software is not finished and currently in development so it should not be used in production enviroments!
  • ⚠️The UI application is not yet implemented!
  • ⚠️Only SQLite database is currently supported!

Getting Started

  • Clone the repository using the command git clone https://github.com/manuelebagnolini/MyCMS.git and checkout the main branch.

Command line

  • Install the latest version of the .NET SDK from this page https://dotnet.microsoft.com/download
  • Next, navigate to the MyCMS.Web.API folder.
  • Call dotnet build.
  • Call dotnet run (or dotnet watch for live coding)
  • Then open the https://localhost:7040/graphql/ URL in your browser to test the GraphQL endpoint.

Visual Studio

  • Download Visual Studio 2022 (any edition) from https://www.visualstudio.com/downloads/
  • Open MyCMS.sln and wait for Visual Studio to restore all Nuget packages
  • Ensure MyCMS.Web.API is the startup project
  • Select Build solution from the solution context menu
  • Run the project

Load test fake data

If you run the project with dotnet watch via command line or in debug mode in Visual Studio you will see the swagger index by hitting the https://localhost:7040/ URL.

If you select the /api/Test/ImportTestData API you can define a value for the numArticles input field for the number of articles to create in the database test structure.

Select Try it out to call the api and populate the test database.

Sample project

Inside the solution you will find a sample frontend project written in Blazor WebAssembly to show an example of MyCMS usage by a frontend application

Run the project via command line

  • Navigate to the MyCMS.Web.Sample folder.
  • Call dotnet build.
  • Call dotnet run (or dotnet watch for live coding)
  • Then open the https://localhost:7058/ URL in your browser (if you run dotnet watch the browser will open automatically).

Run the project in Visual Studio

  • Open the contextual menu for the MyCMS.Web.Sample
  • Next go to the debug sub menu
  • Now select one from Start new instance and Start without debugging
  • The browser will automatically open on https://localhost:7058/ URL

Documentation

The documentation can be accessed here

License

See the LICENSE file for licensing information.

Owner

  • Name: Manuele Bagnolini
  • Login: manuelebagnolini
  • Kind: user
  • Location: Italy
  • Company: @websolutespa

Full Stack Developer and Tech Enthusiast

Citation (CITATION.cff)

cff-version: 1.2.0
title: "MyCMS official repository"
message: "If you really want to cite this repository, here's how you should cite it."
type: "software"
authors:
- given-names: "Manuele"
  family-names: "Bagnolini"
version: 1.0.0
date-released: 2022-05-03
url: "https://github.com/manuelebagnolini/MyCMS"

GitHub Events

Total
Last Year

Dependencies

MyCMS.Data/MyCMS.Data.csproj nuget
  • Microsoft.EntityFrameworkCore.Design 6.0.3 development
  • Microsoft.EntityFrameworkCore.Tools 6.0.3 development
  • Microsoft.EntityFrameworkCore 6.0.3
  • Microsoft.EntityFrameworkCore.Sqlite 6.0.3
  • Microsoft.Extensions.Configuration 6.0.1
  • Microsoft.Extensions.Configuration.FileExtensions 6.0.0
  • Microsoft.Extensions.Configuration.Json 6.0.0
MyCMS.Tests/MyCMS.Tests.csproj nuget
  • Microsoft.NET.Test.Sdk 16.11.0
  • coverlet.collector 3.1.0
  • xunit 2.4.1
  • xunit.runner.visualstudio 2.4.3
MyCMS.Web.API/MyCMS.Web.API.csproj nuget
  • HotChocolate.AspNetCore 12.6.2
  • HotChocolate.Data.EntityFramework 12.6.2
  • Microsoft.VisualStudio.Azure.Containers.Tools.Targets 1.14.0
  • Swashbuckle.AspNetCore 6.2.3
MyCMS.Web.Sample/MyCMS.Web.Sample.csproj nuget
  • Microsoft.AspNetCore.Components.WebAssembly 6.0.3
  • Microsoft.AspNetCore.Components.WebAssembly.DevServer 6.0.3
  • Microsoft.Extensions.Http 6.0.0
  • StrawberryShake.CodeGeneration.CSharp.Analyzers 12.7.0
  • StrawberryShake.Transport.Http 12.7.0
  • System.Net.Http.Json 6.0.0
.github/workflows/build-test.yml actions
  • actions/checkout v3 composite
  • actions/setup-dotnet v2 composite
MyCMS.Core/MyCMS.Core.csproj nuget