Skip to content

Latest commit

 

History

History
104 lines (91 loc) · 3.61 KB

README.md

File metadata and controls

104 lines (91 loc) · 3.61 KB

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