Giter VIP home page Giter VIP logo

blog-react's Introduction

简介

这是 React 搭建个人博客网站的一部分。网站分为两部分

  • 博客前台页面 在这里插入图片描述
  • 博客后台页面 在这里插入图片描述

本项目是前台页面的前端部分。

整个博客网站包含内容有

前端部分

  • React
  • React-Router4.0
  • Redux
  • AntDesign
  • webpack4

后端部分

  • consul+consul-template+nginx+docker 搭建微服务
  • cdn 上传静态资源
  • thinkJs

部署部分

  • daocloud 自动化部署
  • Prometheus+Grafana 监控系统

想要详细了解博客的搭建过程与相关问题,可以查看

服务启动

npm install
npm run start

本项目开发环境是使用 webpack 的 devserver,启动前端服务,访问后端接口 对应的后端项目 点这里。 启动本项目之前须先启动后端 self-blog-fontend 项目。

服务打包

  • 项目打包生成路径,是本人计算机对的的服务端项目 self-blog-fontend 的 www 文件夹,view 文件夹, 具体路径须根据自身两个项目的相对路径改写。
  • 打包后,启动后端服务,访问http://localhost:8365,就能访问博客前台页面。

项目部署

本项目不直接参与线上部署,而是先打包到后端项目中,将后端制作为镜像,在服务器端生成容器。具体部署细节会在上述博客网站尽快更新。

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.