Git Product home page Git Product logo

node-blog's Introduction

node-blog

一个比较小的移动端web博客demo,虽然功能简单,但涉及到的知识点还是比较多的: 如:node、express、mongodb、vue2.x、vue-router、muse-ui、rem布局、移动web等等。 需先按照mongodb、node环境

Build Setup

首先需要安装好node环境、mongodb数据库,安装好后继续以下步骤:
# 打开命令行窗口,启动mongodb,mac的方法为:
输入sudo mongod指令,输入密码后回车

# 新建命令行窗口,启动server端,成功后运行的端口为8888,方法为:
cd server
node index.js

然后按照vue项目常规步骤:

# 新建命令行窗口,安装依赖
npm install

# 开发环境运行,随后可打开http://localhost:8080浏览
npm run dev

# 生产环境,build后可打开http://localhost:8888浏览
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

node-blog's People

Contributors

xietongxue avatar

Stargazers

 avatar

Watchers

liushouquan avatar

Forkers

firecodes

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.