lipengming / tech-blog

tech-blog with node,mongodb

Home Page:http://www.cubbery.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tech-blog:

tech-blog with node,mongodb

target:

www.cubbery.com

TODO LIST

-style change 
-user profiler add  
-logout button  
-Beautify 

deployment

-db:https://mongolab.com/welcome/
-space:https://www.heroku.com/

planning

* expose resetful interface for mobile invoke
* developent the mobile app with html5

router

base

app.get("/index",index.index);
app.get("/",index.index);

articles

app.get("/post",index.post);
app.post("/article/post",index.doPost);
app.get("/archives",index.archives);
app.get("/detail/:id",index.detail);
app.get("/update/:id",index.update);
app.get("/del/:id",index.del);
app.post("/update",index.doUpdate);
app.get("/manage",index.manage);
app.get("/about",index.about);
app.get("/error",index.error);
app.get("/tag/:tagName",index.tag);
app.post("/search",index.search);

user

app.get("/login",user.login);
app.post("/login",user.doLogin);
app.get("/reg",user.reg);
app.post("/reg",user.doReg);
app.get("/logout",user.logout);

About

tech-blog with node,mongodb

http://www.cubbery.com/

License:Apache License 2.0


Languages

Language:JavaScript 87.5%Language:CSS 8.3%Language:EJS 2.2%Language:HTML 1.9%Language:Procfile 0.0%