Giter Site home page Giter Site logo

sudhakar7777777 / babynumbers Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.09 MB

Sample Analytics server to receive client & server ping and persist the data in Mongo for further data analysis

License: GNU General Public License v3.0

Shell 24.50% Batchfile 17.38% Java 52.26% HTML 5.86%

babynumbers's Introduction

BabyNumbers

This is a slick Analytics server which receives ping messages from client and server side of any application. It then persist this information in a Mongo DB for further processing.

In the test environment, we have hooked up this application with mLab's MongoDB and running the server are Heroku.

In the local environment, comment the application.properties files mongodb URI and run your local instance of MongoDB server, you are all set to test in Local.

How to run this application:

Run this app as SpringBoot

http://localhost:9999/

Use a Browser plugin like RESTClient for Firefox to initiate POST requests: URL: http://localhost:9999/client or http://localhost:9999/server Header:

Name Content-Type Value application/json;charset=UTF-8 Body: { "visitor_id":"54321", "user_id":"12345", "device_type":"testing", "request_url":"http://www.babycenter.ca/baby-names-finder", "adblocker_enabled":"true", "request_time":"Thu Jun 23 13:26:11 PST 2016" }

List all records from Client Pings : GetAll request:

http://localhost:9999/client

Verify the Database changes:

use test switched to db test show collections clientPing db.clientPing.find()

babynumbers's People

Contributors

sudhakar7777777 avatar

Watchers

 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.