Giter Site home page Giter Site logo

ijzfan / jonty.blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jontymin/jonty.blog

0.0 0.0 0.0 8.83 MB

🎯Jonty.Blog个人博客项目,底层基于免费开源跨平台的.NET Core 3.1开发,使用 ABP vNext搭建项目框架,支持主流数据库,遵循RESTful接口规范,前端使用Blazor开发。

Home Page: https://www.jonty.top

License: Other

C# 35.95% HTML 5.44% CSS 19.64% JavaScript 38.97%

jonty.blog's Introduction

Jonty.Blog🎯

项目介绍📚


🎯Jonty.Blog个人博客项目,底层基于免费开源跨平台的.NET Core 3.1开发,使用 ABP vNext搭建项目框架,支持主流数据库(MSSQL,MySQL,SQLite,MongoDB暂时还不会啊😅),遵循RESTful接口规范,前端使用Blazor开发。觉得不错请点个小⭐⭐~~~😁

此项目学习于阿星 Plus,作为个人.NET Core入门学习,感谢星哥指导🤞。

博客园地址:阿星Plus

GitHub地址:阿星Plus

技术栈📑


  • 使用abp cli搭建项目
  • Autofac依赖注入
  • 自定义Swagger-API文档
  • Code First和自定义仓储
  • JWT-GitHub授权
  • 异常处理-log4Net
  • Redis数据缓存
  • Hangfire定时任务
  • AutoMapper对象映射
  • 百度AI-语音合成
  • HtmlAgilityPack 爬虫
  • MailKit 邮件提醒
  • 腾讯MTA+验证码
  • 前台页面
  • 接口测试

项目目录📒


Blog ---------- root
 ├── .gitattributes ---------- git attributes
 ├── .gitignore ---------- git ignore
 ├── common.props ---------- common.props
 ├── LICENSE ---------- LICENSE
 ├── Jonty.Blog.sln ---------- Solution
 ├── README.md ---------- README.md
 ├── src
 │   ├── Jonty.Blog.Application ---------- Application
 │   ├── Jonty.Blog.Application.Caching ---------- Application.Caching
 │   ├── Jonty.Blog.Application.Contracts ---------- Application.Contracts
 │   ├── Jonty.Blog.BackgroundJobs ---------- BackgroundJobs
 │   ├── Jonty.Blog.Domain ---------- Domain
 │   ├── Jonty.Blog.Domain.Shared ---------- Domain.Shared
 │   ├── Jonty.Blog.EntityFrameworkCore ---------- EntityFrameworkCore
 │   ├── Jonty.Blog.EntityFrameworkCore.DbMigrations ---------- EntityFrameworkCore.DbMigrations
 │   ├── Jonty.Blog.HttpApi ---------- HttpApi
 │   ├── Jonty.Blog.HttpApi.Hosting ---------- HttpApi.Hosting 
 │   ├── Jonty.Blog.BlazorApp ---------- BlazorApp
 │   ├── Jonty.Blog.Swagger ---------- Swagger
 │   └── Jonty.Blog.ToolKits ---------- ToolKits
 └── static ---------- static

⏺️ Application—应用服务层:编写服务的接口及对应实现

⏺️ Application.Caching—缓存服务层:处理缓存

⏺️ Application.Contracts—数据传输层:传输对象(DTO)

⏺️ BackgroundJobs—定时任务层:Hangfire定时任务

⏺️ Domain—实体模型层:实体领域模型

⏺️ Domain.Shared—公共实体层:枚举、公共常量

⏺️ EntityFrameworkCore—仓储服务层:集成EF Core,自定义仓储

⏺️ EntityFrameworkCore.DbMigrations—数据迁移层:数据迁移,code-first建库建表

⏺️ HttpApi—应用接口层:编写Controller,API

⏺️ HttpApi.Hosting—Web层:暴露API

⏺️ BlazorApp:前端页面

⏺️ Swagger—接口文档层:Swagger文档(可直接写在HttpApi.Hosting)

⏺️ ToolKits—扩展工具层:扩展方法、工具类


使用说明🚗

  • 克隆代码,使用打开工具打开

  • HttpApi.Hosting中修改appsettings.json

    ConnectionStrings: 配置数据库连接字符串

    JWT:配置Json Token

    GitHub:配置OAuth App ,Github开发人员设置

    Caching:配置Redis缓存

    Hangfire:配置定时任务管理用户密码

    BaiduAI:配置百度语音合成API

  • EntityFrameworkCore.DbMigrations设为启动项目,打开程序包管理器控制台,启动迁移。

add-migration ''
update-database

预览📃


页面展示🔎

首页

https://www.jonty.top

jonty.blog's People

Contributors

dependabot[bot] avatar jontymin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.