marcominerva / TinyCMS

The smallest CMS engine ever, made with ASP. NET Core and Dapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinyCMS

Lint Code Base CodeQL Publish Database Deploy on Azure License: MIT

The smallest CMS engine ever, made with ASP.NET Core and Dapper. Currently, only static content is supported, but adding new pages is as simple as inserting a new row in a database table with the raw HTML or markdown content of the page.

Setup

  1. Create database tables using the scripts available in the TinyCms.Database project
  2. Insert a row in the Sites table (currently, only a single site is supported)
  3. Insert at least a row in the ContentPages table for the Home Page of the site, using index as url. The Content column can be any HTML or markdown
  4. Create all the other pages in the ContentPages table, with the url you want
  5. (optional) Specify 404 and 403 response pages inserting the corresponding rows in the ContentPages table, using 404 and 403 url respectively
  6. Set the database connection string in the appsettings.json file.
  7. Have fun 😉

Contribute

The project is constantly evolving. Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can.

About

The smallest CMS engine ever, made with ASP. NET Core and Dapper

License:MIT License


Languages

Language:JavaScript 53.1%Language:SCSS 42.7%Language:C# 3.2%Language:HTML 0.6%Language:TSQL 0.3%Language:CSS 0.0%