Skip to content

Blog template engine with dashboard, profiles, comments, etc based on Asp.Net 7 MVC with MediatR, AutoMapper and other libs

License

Notifications You must be signed in to change notification settings

sh1ngekyo/blog-template

Repository files navigation

blog-template

Build Tests

This template can be used to create a blog/forum based on Asp.net core (API or MVC). Currently presentation layer implemented with MVC. Works with PostgreSQL.

Features:

  1. Role based Auth
  2. Admin panel (Create, update, delete posts for Authors, manage users, site settings, pages, etc for Admins)
  3. Notifications
  4. Smart pagination
  5. Nested comments for posts
  6. User profiles

Improvements:

  1. Move front-end to React/Angular/Vue
  2. Implement tags & search for posts

Packages:

  1. EF Core
  2. MediatR
  3. AutoMapper
  4. FluentValidation
  5. ToastNotification
  6. X.PagedList
  7. NSubstitude (Tests)

Download & setup:

  1. Download/Clone: git clone https://github.com/sh1ngekyo/blog-template.git
  2. Update your Postgre connection string in secrets.json/appsettings.json.
  3. Apply Migration in your package manager: Update-Database or use dotnet cli.
  4. Run & configure your site in Dashboard. Default Login: Admin, Default Password: Admin@1234. Change default account settings in DatabaseInitialBuilder.

Blog example/Features:

Home Page

Top first page

Bottom first page

SignIn/SignUp

SignIn

SignUp

Dashboard Differences

Admin

Author

Dashboard Posts

Add Post

Edit Post

Dashboard Options

Users

Settings

Page Edit

Profile

Edit

Public View

Comments

View from user with Author role

About

Blog template engine with dashboard, profiles, comments, etc based on Asp.Net 7 MVC with MediatR, AutoMapper and other libs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published