Skip to content

mojofawad/MojoCMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MojoCMS

This project is a work in progress. Building a CMS for my personal website, but with the intention of making it a generic CMS that can be used by anyone.

Running the Application

Requirements

  • .NET 8.0
  • Node.js
  • Docker

Prior to running the application, the following must be done:

  • Navigate to MojoCMS.App/ and run npm i
  • Navigate to MojoCMS.AppHost/ and set a password using:
    • dotnet user-secrets set Parameters:postgresql-password <password>

Project Structure

  • MojoCMS.App - The frontend application built with Next.js
  • MojoCMS.API - The backend API built with ASP.NET
  • MojoCMS.AppHost - Aspire AppHost for quick development (DX QoL)
  • MojoCMS.MigrationService - A worker service for migrating the database on start

Screenshots

Home Page Layout (WIP 2024-06-09) Frontend layout with a left-hand sidenav, header, content section, and footer.

Notes

At some point it occured to me that it might have been wiser to use a .NET frontend for this project and Next.js for my personal website. I'm thinking of sticking with Next.js on this project to continue learning Aspire's capabilities with .NET.

Project Goals

Frontend

  • Accessibility
    • Keyboard navigation
    • Screen reader support
    • Semantic HTML
    • Proper contrast
    • Proper focus states
  • A simple, clean, and responsive design
    • i.e. No CSS frameworks
    • Minimal CSS styling

Backend

  • A simple, clean, and secure API
    • Authentication
    • Authorization
    • Logging
    • Error handling

Documentation

  • Documentation for the project
    • API documentation
    • Front-end documentation
    • Back-end documentation

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

About

Self hosted content management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published