Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcominerva/tinycms
The smallest CMS engine ever, made with ASP. NET Core and Dapper
https://github.com/marcominerva/tinycms
aspnetcore azure azure-storage c-sharp cms cms-backend cms-framework dapper hacktoberfest razor-pages
Last synced: 16 days ago
JSON representation
The smallest CMS engine ever, made with ASP. NET Core and Dapper
- Host: GitHub
- URL: https://github.com/marcominerva/tinycms
- Owner: marcominerva
- License: mit
- Created: 2022-07-15T12:37:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T10:58:44.000Z (9 months ago)
- Last Synced: 2024-05-29T04:26:34.056Z (6 months ago)
- Topics: aspnetcore, azure, azure-storage, c-sharp, cms, cms-backend, cms-framework, dapper, hacktoberfest, razor-pages
- Language: JavaScript
- Homepage:
- Size: 10.9 MB
- Stars: 14
- Watchers: 4
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TinyCMS
[![Lint Code Base](https://github.com/marcominerva/TinyCMS/actions/workflows/linter.yml/badge.svg)](https://github.com/marcominerva/TinyCMS/actions/workflows/linter.yml)
[![CodeQL](https://github.com/marcominerva/TinyCMS/actions/workflows/codeql.yml/badge.svg)](https://github.com/marcominerva/TinyCMS/actions/workflows/codeql.yml)
[![Publish Database](https://github.com/marcominerva/TinyCMS/actions/workflows/publish_database.yml/badge.svg)](https://github.com/marcominerva/TinyCMS/actions/workflows/publish_database.yml)
[![Deploy on Azure](https://github.com/marcominerva/TinyCMS/actions/workflows/deploy_site.yml/badge.svg)](https://github.com/marcominerva/TinyCMS/actions/workflows/deploy_site.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/marcominerva/TinyCMS/blob/master/LICENSE)The smallest CMS engine ever, made with [ASP.NET Core](https://github.com/dotnet/aspnetcore) and [Dapper](https://github.com/DapperLib/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](https://github.com/marcominerva/TinyCMS/tree/master/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](https://github.com/marcominerva/TinyCMS/blob/master/src/TinyCms/appsettings.json#L3) file.
7. Have fun :wink:
**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.