Coder Social home page Coder Social logo

blog's Introduction

该项目以迁移至 https://github.com/yanthink/pingfan.blog ,今后不再维护

项目概述

该系统使用 ANT DESIGN PRO 编写而成。

功能如下

  • 文章列表 -- 支持搜索;
  • 文章详情 -- 支持代码高亮;
  • 用户认证 -- 后台登录、退出;
  • 权限控制;
  • 文章管理 -- 列表、详情、发布、修改、删除。集成SimpleMDE编辑器,支持粘贴和拖拽上传附件;
  • 用户管理 -- 列表、添加、修改、分配角色;
  • debugbar;

后台截图

文章列表

文章详情

文章发布

文章预览

开发环境部署/安装

本项目代码使用 React 框架 ANT DESIGN PRO 开发。

基础安装

1. 克隆源代码

克隆 blog 源代码到本地:

> git clone https://github.com/yanthink/blog.git

2. 安装扩展包依赖

$ npm install

你可以根据情况修改 .webpackrc.js 文件里的内容,如代理设置等:

proxy: {
  '/api': {
    target: 'http://api.blog.test/',
    changeOrigin: true,
  },
  '/_debugbar': {
    target: 'http://api.blog.test/',
    changeOrigin: true,
  },
},

Usage

$ npm start # visit http://localhost:8000

后台地址:http://localhost:8000/admin

小程序二维码

file

blog's People

Contributors

yanthink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

你好,请问一下

默认的brower模式,server怎样返回数据,才能让前端刷新不报404错误

你好,想和你请教一下

你好,为什么打包后访问就会出现404错误呢?我现在也在基于AntdPro开发各网站,但是打包后会出现这样的错误,你的项目写的很好,我再dev环境跑起来没有问题,但是打包后用http-server跑起来就会出现404错误,希望能够指教一下。

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.