Giter Site home page Giter Site logo

imooc-2's Introduction

node建站攻略(二期)——网站升级

项目架构

  • 基于MEAN架构(Mongo,Express,Angular,Node)

准备工作

  • 安装node&mongodb

安装教程

  • clone 源码
  • 执行npm install
  • 启动mongodb,OS-X系统,进入mongdb/bin下执行./mongod开启数据库
  • 启动grunt运行

查看数据库

  • 进入mongodb/bin目录下执行./mongo打开数据库,执行use [数据库名]查看数据库

一些mongodb查询语法

  • 更新用户信息字段:db.users.update({"_id":ObjectId("5462e471a89b09af16c5d3aa")},{$set:{role:0,workId:78744,jobDesc:'前端开发工程师'}})

imooc-2's People

Contributors

xuyuan923 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

tianhang zgswl

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.