GithubHelp home page GithubHelp logo

angular-express-gulp-mongodb's Introduction

angular-express-gulp-Mongodb

前后端分离**项目结构初探

##简单做了前后端分离作品--登录注册登录页面,前端用angular+gulp搭建,后端用express+mongodb.

功能简介

前台登录或注册,后台接受保存并返回用户信息。

项目目录

client 为前端目录

   src 为源文件
   dist 为压缩后文件

server 为后端目录

想要源码的可以Git到本地

前端页面

1.在client文件下,加载依赖。
  npm install
  bower install
2.用gulp 启动 browser-sync本地服务器,输下以下命令,就自动前端打开页面
  
  gulp default

服务器端

1.在server文件根目录下输入以下命令,加载依赖

  npm install

2.启动Mongodb服务器,输入以下命令

  mongod --dbpath D:\MongoDB\todo
  
3.启动node服务器
  
  npm start
  
4.以上步骤完成后,就可在前台页面注册与登录了。

angular-express-gulp-mongodb's People

Contributors

newyoung21 avatar

Watchers

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