Skip to content

fiamma21/segmentfault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

segmentfault

模仿SegmentFault问答项目

安装

clone

$ git clone https://github.com/Lesliezjm/question.git

安装nodejs

安装modules

$ cd question
$ npm install

安装静态资源依赖包

$ cd question/public
$ bower install

运行服务器

$ cd question
$ npm run start
运行浏览器输入 http://localhost:3000

目录结构

question  项目目录
├─bin               项目入口
│  ├─www                www入口文件
├─common            公共函数
├─config            项目配置文件
├─dal               模型业务逻辑处理
├─logs              日志文件
├─models            模型骨架
├─public            项目主题
│  ├─css                公共样式
│  ├─img                图片资源
│  ├─js                 js文件
│  ├─static             组件
│  │  ├─components      组件
│  ├─templates          模板
│  ├─index.html         首页入口
│  ├─login.html         登陆
│  ├─register.html      注册
├─routers           路由文件
├─static            其他静态资源
├─views             jade模板
├─app.js            项目后台主文件
├─package.json      npm包管理
├─README.md         

About

angular+node+mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published