Code Monkey home page Code Monkey logo

react-material-blog-server's Introduction

旧个人博客的后端, 现已废弃


React Material Blog Server

完全原创、独立完成个人站点的后端。

特点:

  • Material Design 风格,自适应于不同设备的浏览器
  • 可编辑和展示文章标题、摘要、Markdown 内容、标签和创建日期
  • 可在编辑器内实时预览 Markdown 内容
  • 支持图片的上传和托管
  • 管理员可创建或编辑文章,并管理访客在文章下的评论
  • 访客无需注册即可对文章进行点赞、评论
  • 根据浏览器指纹控制访客在一定时间内的评论数
  • 支持按指定的标签类别展示文章,阅读时展示文章的索引
  • 根据配置展示 GitHub 作品、社交资料和个人简历

技术栈:

前端:

后端:

  • 使用 mini-express(我的另一个项目)作为简易的服务器框架
  • 使用 mongodb 存取数据
  • 使用 mongoose 简化对 MongoDB 的操作
  • 使用 shortid 生成文档的 _id

请注意 material-ui-next 组件库的 api 尚不稳定,建议不要安装高于当前 package.json 中的版本。

调试:

  1. 克隆 react-material-blogreact-material-blog-server

  2. 安装 mongodb

  3. 进入 react-material-blog 项目

npm i
npm run scss
npm run dev
  1. 进入 react-material-blog-server 项目
npm i
npm run dev
  1. localhost:3000 查看。

预览:

桌面端:

桌面端1

桌面端2

桌面端3

桌面端4

移动端:

移动端1

移动端2

移动端3

移动端4

react-material-blog-server's People

Contributors

youknowznm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.