https://github.com/jeromewu/mersfrb
MERSFRB = Mongoose+Express+Restify+Socket.io+Flux+React+Bootstrap
https://github.com/jeromewu/mersfrb
Last synced: about 1 year ago
JSON representation
MERSFRB = Mongoose+Express+Restify+Socket.io+Flux+React+Bootstrap
- Host: GitHub
- URL: https://github.com/jeromewu/mersfrb
- Owner: jeromewu
- Created: 2015-05-01T06:13:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T15:45:17.000Z (about 11 years ago)
- Last Synced: 2025-03-30T04:26:14.758Z (about 1 year ago)
- Language: JavaScript
- Size: 2.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERSFRB
MERSFRB = Mongoose+Express+Restify+Socket.io+Flux+React+Bootstrap
## Introduction
A package that combines mainly 7 nodejs packages aims to achieve agile web application development framework from database to frontend design, the source code includes a chat room example for reference, try and see the power of the power of it.
Architecture

## Build
* To define your mongoose schema, put .json file in **./mongoose-models/custom/**, the name of the .json will be the name of the collection, and the content will be the schema, for the details of the rest api, please see [express-restify-mongoose](https://github.com/florianholzapfel/express-restify-mongoose)
* Install all modules by
```
$ npm install
```
* Use browserify to create bundle.js
```
$ browserify . > public/js/bundle.js
```
or
```
$ make
```
## Execution
* First you need to start the mongodb with **--replSet**, this is for mongo-oplog to work, see **./doc/mongodb-script** for reference.
* To execute the server
```
$ node app.js
```
or
```
$ make run
```