Coder Social home page Coder Social logo

bluelog's Introduction

bluelog 个人博客系统

开发环境搭建

  • mkdir bluelog && cd bluelog
  • pipenv install --dev
  • pipenv shell
  • 最后生成虚拟数据并运行:flask forge && flask run

大型项目结构

  • 使用蓝本模块化程序
  • 使用类组织配置
  • 使用工厂函数创建程序实例

编写程序骨架

  • 数据库
  • 模板
  • 表单
  • 视图函数
  • 电子邮件支持

编写博客前台

  • 分页显示文章列表
  • 显示文章正文
  • 文章固定链接
  • 显示分类文章列表
  • 显示评论列表
  • 发表评论与回复
  • 支持评论回复
  • 网站主题切换

初始化博客

  • 安全存储秘密
  • 创建管理员用户

使用Flask-Login 管理用户认证

  • 获取当前用户
  • 登入用户
  • 登出用户
  • 视图保护

使用CSRFProtect 实现 CSRF保护

编写博客后台

  • 文章管理
  • 评论管理
  • 分类管理

bluelog's People

Contributors

huazhicai avatar

Watchers

James Cloos avatar  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.