GithubHelp home page GithubHelp logo

mindis / analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gabrieltaylor/analytics

0.0 2.0 0.0 192 KB

An analytics tracking application written in Node.js

Makefile 0.05% JavaScript 99.15% HTML 0.79%

analytics's Introduction

Backend Collector for Client-Side Data

Getting Started

  • Install with Node.js package manager npm:

      $ npm install
    
  • Configure your collector server HTTP/HTTPS ports and SSL certs by changing HTTP_PORT, HTTPS_PORT, and SSL_OPTS variables at the top of server.js file.

    This configuration step can be skipped for test & dev purposes. By default, the server binds to ports 3000 and 4443 for HTTP/HTTPS traffic. It also uses self-signed certificates for SSL under .ssl/ directory, so we recommend you replace them with real certificates for a secure production solution.

  • Start the collector server by typing:

      $ node server.js
    

    If you have configured server ports to standard ports 80 and 443, you'll need to sudo node server.js to start the server as root unless you have rights to bind to privileged ports < 1024

    You should see something similar to:

      Listening to HTTP on port 3000
      Listening to HTTPS on port 4443
    

That's it!

analytics's People

Contributors

rarsan avatar gabrieltaylor avatar

Watchers

Mindaugas Zickus 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.