Coder Social home page Coder Social logo

fcws's Introduction

FCWS(Deprecated) 已过时

本项目目前分为前端和后端分别维护

FCWS是一个基于Ionic,Nodejs,Mongodb开发的端到端移动应用。要运行该项目,需要首先安装相应的环境,包括Nodejs,Ionic,Mongodb。以下步骤的测试环境为MacOS,其他系统暂未测试。

运行步骤

首先打开Mongod数据库,默认的数据库名称为test

//Mac端命令
$ sudo mongod

然后添加测试数据并开启服务器,首先安装node_modules,本工程中的node_modules不一定适合你的系统。

$ cd server
$ rm -rf node_modules
$ npm install

该系统没有提供注册页面,人员录入通过脚本进行。

$ cd server/bin
依次执行以下命令:
$ node users_build.js
$ node orgs_build.js
$ node users_get_orgs_build.js

你可以用remongo等工具查看数据库中的test collection中是否已经录入数据。然后开启服务器:

$ cd ..
$ node server.js

最后运行客户端,同样这个工程里也有node_modules,如果无法运行,删除该文件夹重新安装。

$ cd client
$ ionic serve

运行成功!

#运行截图

fcws's People

Contributors

rdmclin2 avatar

Watchers

James Cloos avatar  avatar

Forkers

cckmit

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.