All Projects → LennonChin → Blog Frontend Project

LennonChin / Blog Frontend Project

Licence: apache-2.0
Web frontend code for my blogs, develop with Vue.

Projects that are alternatives of or similar to Blog Frontend Project

Fontend
使用Node、Vue、ElementUI、iViewUI,验证码等等搭建一个综合性网站(含后台管理系统)
Stars: ✭ 97 (-52.91%)
Mutual labels:  koa, axios, iview
Vue Webpack Config
Koa2、Webpack、Vue、React、Node
Stars: ✭ 151 (-26.7%)
Mutual labels:  koa, axios, ssr
Surmon.me
🆒 My personal website and blog, powered by @vuejs (3)
Stars: ✭ 1,767 (+757.77%)
Mutual labels:  blog, ssr, server-side-rendering
jooger.me
👍 My personal website,powered by @nuxt
Stars: ✭ 39 (-81.07%)
Mutual labels:  ssr, axios, server-side-rendering
Egg Vue Webpack Boilerplate
Egg Vue Server Side Render (SSR) / Client Side Render (CSR)
Stars: ✭ 1,302 (+532.04%)
Mutual labels:  axios, ssr, server-side-rendering
React Use Api
Async HTTP request data for axios. Designed for diverse UI states, SSR and data pre-caching.
Stars: ✭ 49 (-76.21%)
Mutual labels:  axios, ssr, server-side-rendering
vue-ssr-starter
Starter kit for projects with Webpack 4, Vue 2 and SSR
Stars: ✭ 53 (-74.27%)
Mutual labels:  ssr, axios, server-side-rendering
Naice Blog
😺 新的博客上线啦
Stars: ✭ 93 (-54.85%)
Mutual labels:  koa, axios, ssr
Ashen Blog
使用koa 2 + vue 2搭建自己的博客系统
Stars: ✭ 104 (-49.51%)
Mutual labels:  blog, koa, axios
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (-29.61%)
Mutual labels:  pm2, server-side-rendering
Rendora
dynamic server-side rendering using headless Chrome to effortlessly solve the SEO problem for modern javascript websites
Stars: ✭ 1,853 (+799.51%)
Mutual labels:  ssr, server-side-rendering
H Blog
js, javascript, blog, typescript, node, koa...
Stars: ✭ 151 (-26.7%)
Mutual labels:  blog, koa
Oblog
An Auto Rendering 🔽 Blogging System Based on MarkDown & Vue.js | 自动渲染装载 MarkDown 内容的博客系统
Stars: ✭ 133 (-35.44%)
Mutual labels:  blog, axios
Koa React Isomorphic
Boilerplate for Koa & React
Stars: ✭ 128 (-37.86%)
Mutual labels:  koa, ssr
Github Ranking
🔍GitHub不同语言热门项目排行,Vue.js做页面展示
Stars: ✭ 160 (-22.33%)
Mutual labels:  koa, axios
Vue.netcore
.NetCore+Vue2/Vue3+Element plus,前后端分离,不一样的快速开发框架;提供Vue2、Vue3版本,。http://www.volcore.xyz/
Stars: ✭ 2,338 (+1034.95%)
Mutual labels:  axios, iview
React App Architecture
React.js Isomorphic Web Application Architecture - Learn to build a complete website for a blogging platform like Medium, FreeCodeCamp, MindOrks etc using React.js, Redux, Material-UI, Express.js, Typescript, Webpack, Babel, and Docker. OpenSource project by AfterAcademy
Stars: ✭ 122 (-40.78%)
Mutual labels:  axios, ssr
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+789.81%)
Mutual labels:  ssr, server-side-rendering
React Jobs
Asynchronously resolve data for your components, with support for server side rendering.
Stars: ✭ 167 (-18.93%)
Mutual labels:  ssr, server-side-rendering
React Ssr Boilerplate
Boilerplate for React apps with routing, code splitting, & server side rendering
Stars: ✭ 183 (-11.17%)
Mutual labels:  ssr, server-side-rendering

Front and back end of the separation of the blog project - front-end project

Supported SSR Now.

Blog has been online ,welcome to browse:https://blog.coderap.com/

中文版说明

The warehouse holds the front end code for the blog project, built using Vue.js.

Note 1: The current Master branch has begun data interworking with the backend. The full version of the test data can be viewed in this version: 6a10ff2

Note 2: The backend code repository linked with this repository is linked here BlogBackendProject and the backend code is implemented using Django + Xadmin + Django Rest Framework.

Front effect display

PC Platform

Home Page

Article Page

Article List Page

Timeline

Mobile Platform

Mobile effect

The overall technology stack

Achieved basic functions

Has now developed 17 pages, basically meet the needs of conventional blog. The page is as follows:

  • Homepage, Routing/
  • Article Home, Routing/artices
  • Gallery Homepage, Routing/albums
  • Movie Homepage, routing/movies
  • Reading Homepage, routing/readings
  • Article List page, route/articles/category/:id
  • Album list page, route/albums/category/:id
  • Movie list page, route/movies/category/:id
  • Reading list page, route/readings/category/:id
  • Book list page, route/books/category/:id
  • Book note list page, route/book/notes/category/:id
  • Article details page, route/article/:id
  • Album browsing page, routing/album/:id
  • Movie details page, route/movie/:id
  • Book details page, route/book/:id
  • Book note details page, route/book/note/:id
  • Timeline page, route/timeline

At present, the development of ordinary pages basically completed the development, the need for the next test to verify the details and Bug; article details page has achieved code highlighting, catalogs, reviews and other functions.

Note: The code highlighting Highlight.js plug-in, and in order to reduce the packaging volume customize the plug-in JS package, custom plug-ins stored in./src/common/js/highlight.pack.js, if you need other highlights please Custom plug-ins, custom tutorials here. Now I removed highlight.js, replaced by using Pygments at backend, to improved render effect at frontend.

The next will be achieved

  • [x] Will consider implementing SSR server rendering. ~~Due to the current backend Django Rest Framework, SSR support may be postponed. SSR support for some necessary pages is developing now.~~SSR can already work now.
  • [ ] Access GitHub, WeChat, Weibo, Facebook and other third-party login comments.
  • [x] front-end page Markdown editor access Qiniu Cloud Storage to store pictures. (Completed)
  • [ ] Optimize the details of the gallery display.
  • [ ] Optimize packaging volume.

How to use

  1. Clone this project
  2. Install the node environment
  3. In the project root directory, execute the following command to install the dependencies:
# install dependencies
npm install
  1. Next, you need to do some backend support for the project configuration:

Note: You can choose to browse the offline version: 6a10ff2, this version is not complete, but shows the most basic page, all the data are local test data.

The backend of this project uses Django + Xadmin + Django Rest Framework. The code repository is located at BlogBackendProject. You need to configure it online according to the repository code. After configuring, please refer to the ./src/api/client-api.js and ./src/api/client-api.js files in this project your interface configurations of both client environment and SSR environment, my configurations as follows:

// client-api.js
const request = axios.create({
  baseURL: process.env.NODE_ENV === 'development' ? 'https://localhost:8000/api/' : 'https://blog.coderap.com/api/'
});

// server-api.js
const request = axios.create({
  baseURL: process.env.NODE_ENV === 'development' ? 'https://localhost:8000/api/' : 'http://localhost/api/'
});
  1. After the above configuration is completed, run the following command to enter the development environment:
# serve with hot reload at localhost: 9999
npm run dev

Or run the following command to package:

# build for production with minification
npm run build

License

Apache-2.0

Copyright (c) 2016-present, LennonChin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].