GithubHelp home page GithubHelp logo

ceres's People

Contributors

amasibakush avatar aneethkrish avatar cdock1029 avatar linux-colonel avatar sborysov avatar xingzhong avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ceres's Issues

SQL injection

Since we provide database interface to public, I was worried about the data security through the query expression. The main idea is to perform query expression pre-validation before it goes to database. That will prevent people accidentally or on purposely mess-up the database. But I am not a mongoDB expert, so I am not sure this problem. I notice that we already have several validation modules in source tree but haven't really implement it.
Therefore, so far I think do some simple data validation is enough to address this requirements. And as long as we separate the function out, we could always keep improve it later.

more restful style api

our current api separate different functions through different url. It could be more simplicity and data-model oriented. In general, we have two layers apis. The first one works on the low level raw data which provides CURD operations, collect, read, update and delete. The second one works on the higher level analytic level, which provides aggregate metrics. By understanding above, I propose the following url style. It is heavily influenced by RESTful style, therefore will be more easy and compatiable for us to develop client App throught existed framework

  1. POST /collect -> POST /data
  2. GET /query -> GET /data
  3. POST /modify -> PUT /data
  4. POST /delete -> DELETE /data
  5. GET /metrics -> GET /metrics
  6. POST /metrics -> POST /metrics

MongoDB uri connection

improve the mongdb configuration to handle the third-part mongoDB uri.
For example, the project can be configured to use free development mongoDB, mongohq.

mongodb://<user>:<password>@<host>:<port>/<dbname>

you can create a free mongoHQ development instance on their site, or email me to get it from my account.

yajl

yajl seems a fast json library. But we need install a non nodejs requirement.

Do we really heavily using that now?
Can we use build-in implementation or alternative method?

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.