Skip to content

A query-rich backend service to power front-end applications

License

Notifications You must be signed in to change notification settings

rithish/chouchou

Repository files navigation

chouchou

Build Status

Overview

A backend platform/service allowing rapid developing of front-end apps.

Requirements

  • MongoDB
  • NodeJS

Installation

git clone https://github.com/goibibo/chouchou.git
npm install
npm link

Run

Update config.js with your settings.

    __CONFIG__ = {
		    "production": {
		        "port": 5000,
		        "env": "production",
		        "db": {
		            "host": "a.b.c.d",
		            "port": 27017,
		            "name": "fuel_db"
		        }
		    }
		    ,"pre-production": {
		        "port": 5000,
		        "env": "pre-production",
		        "db": {
		            "host": "localhost",
		            "port": 27017,
		            "name": "fuel_db"
		        }
		    }
		    ,"development": {
		        "port": 5001,
		        "env": "development",
		        "db": {
		            "host": "localhost",
		            "port": 27017,
		            "name": "ugc_deployd"
		        }
		    }		    
		};

Update system environment in chouchou.js

For development

var server = new Server(config.__CONFIG__.development);

For production

var server = new Server(config.__CONFIG__.production);

Execute in PRODUCTION mode

node chouchou

Execute in DEBUG mode

DEBUG=* node chouchou 

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A query-rich backend service to power front-end applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published