/TinyCMS

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

Primary LanguageJavaScriptMIT LicenseMIT

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.