Skip to content

huxubin/microblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microblog

microblog is a simple rudiment , include login , register , publish blog and show them , base on Express + Node + Bootstrap .

introduction

because old microblog project base on Express 3.X and it has a lot of differences compare with Express 4.X . So to illustrate:
1 static is the only build-in middleware of Express 4.X
   require('express-session') is the right reference way.
2 no longer support partial since Express 3.X unless check out ejs-locals for expresss 3. we use include instead of partial.
   eg: <%- include say %>

start

1 npm install
2 download,unzip and start \Mongodb\bin\mongod.exe as local server
3 node ./bin/www
4 input browser : http://localhost:3000/

About

microblog is a simple rudiment , include login , register , publish blog and show them , base on Express + Node + Bootstrap .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors