Giter Club home page Giter Club logo

nodeblog's Introduction

NodeBlog

基于Bootstrap+AngularJS+Express+MongoDB的一个博客系统

功能及特征

环境配置

安装Node.js及MongoDB

要运行项目,我们首先需要配置Node.js环境,安装MongoDB数据库,这里只提供下载地址,具体安装过程可以参考官方文档或者自己去google

安装Nodejs,下载地址

安装mongodb数据库,下载地址

查看版本及测试安装是否成功(安装路径不同可能命令不同,最好让他们能够全局执行)

npm --version && node --version && mongo --version

安装Node依赖包

进入项目根目录,安装依赖包,运行:

npm install

配置项目及运行项目

从项目根目录进入bin文件夹下,找到www文件,根据需要修改端口号,默认为3000

...
app.set('port', process.env.PORT || 3000); // 3000为默认端口号
...

运行项目

npm start

然后访问http://127.0.0.1:3000即可

MIT

nodeblog's People

Contributors

wangchi avatar

Watchers

James Cloos avatar  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.