Skip to content

Latest commit

 

History

138 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Blog Hub

Note

Swagger:

swagger screen swagger screen


Data ERD:

Blog ERD screen

Client

BlogList Page Blog Page

Important

This is my pet-project to show my skills in c# w/ asp.net (and some ts w/ angular)

  1. Idea:
  • Fullstack application for working with articles
  1. Tech stack:
  • Frontend:
    • Angular
    • Bootstrap
  • Backend:
    • data:
      • AutoMapper
      • FluentValidation
      • MediatR
    • tests:
      • AutoFixture
      • FakeItEasy
      • FluentAssertions
      • xUnit
    • api:
      • asp.net 7
      • Redis
      • PostgreSQL
      • Serilog
      • Swagger
    • identity:
      • IdentityServer4
      • RabbitMQ.Client
  1. Functionality:
  • Frontend:
    • Communicates with backend APIs to perform CRUD operations on blogs, user authentication flows for login/register using IdentityServer, basic UI with Bootstrap
  • Backend:
    • Domain layer with blog entity, CQRS implementation for data layer to handle queries and commands, Input validation and mapping, ASP.NET Core Web API with blog controller, IdentityServer4 for authentication and authorization, Integration testing using xUnit

Warning

Requirements: Docker If you want to start backend:

  1. Configure IdentityServer by providing your own details in the configuration class at Config/IdentityServerConfiguration.cs file (Template available in Config/IdentityServerConfiguration-Template.cs)

  2. Go to the backend directory and run the PowerShell (.ps1) or Bash (.sh) script.

  • For regular use: run .\up.ps1 or .\up.sh
  • For development (rebuilding api/identity containers on host file save): run .\watch.ps1 or .\watch.sh
  • To initialize the database context, run:
docker exec -it api dotnet ef database update
docker exec -it identity dotnet ef database update

About

Fullstack web application created during education in 2018.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages