Giter VIP home page Giter VIP logo

microblog's Introduction

MICROBLOG

Introduction

This is a microblog sample that shows you how to coding with nodejs and make excellent web pages . This is a reconstruction version of the microblog project in node.js web开发指南. As known to all,this book publiced in 2012,so its style is too old in coding with nodejs.Between 2012 and 2015 ,nodejs changed a lot and more and more third-party libraies appeared in front of us.However ,this book just only show us the technical combination by the end of 2012.This is this project' intention that tells you how to coding in the technical combination of 2015.

Key words

  • nodeV0.10.33,this is the latest version of node so far in 2015.
  • jadeV1.9.2,now jade is the default template engine in the Express,not any more ejs.
  • ExpressV4.12.1.this version of express web strcture changed a lot in the past 3 years.The most significant change is that some functionalities in express2.x were divided into independent middlewares in express4.x
  • MongoDBV3.0.2 and MongooseV4.0.1 .Mongoose is a elegant mongodb object modeling for node.js.In 2012,it has not been released yet.Now we can use it to manipulate the MongoDB database instead of native nodejs for MongoDB. It is more convenient!

Usage

  • Download this package and unzip it.
  • before run it,please make sure you have installed the nodejs CL ,npm and MongoDB environment in your machine.if not,get to intall and config them.
  • enter in the microblog directory and run commands in this order.
  • cd microblog npm install npm start
  • open the browser and type http://localhost:3000 to check the page.

microblog's People

Contributors

myzhibie avatar

Watchers

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