Skip to content

We want to create a new-gen analytics platform for developers to developers. This project's aim is a one-click analytics solution for open-source projects & more.

License

Notifications You must be signed in to change notification settings

findmentor-network/analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analytics for developers, open-source projects & more

mockup

  • We do not need fancy dashboards,
  • We need actual analytics for developers & open-source projects.

Example usage

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Example usage</title>
</head>
<body>
    <script>
        /*
            You can host an analytx server on your servers / heroku / aws or gcloud.
            Insert your servers base url below.
        */
        window.BASE_URL = 'https://beta.analytx.dev' // your analytx server
        /*
            Send a event.
            The event can be anything you want
        */
        send({type: 'click', event:'jobApply'})
        /*
            
        */
        send({type: 'seen', event:'jobPage'})
        // count().then(data => data.count).then(console.log)
        // total().then(data => data.count).then(console.log)
    </script>
    <script src='https://analytx.dev/analytx.js'></script>
</body>
</html>

Deploy to your servers

Deploy to heroku (TO-DO)

Install

git clone [email protected]:cagataycali/analytics.git
npm install # yarn
MONGO_URI='YOUR_MONGO_DB_URL' npm start # yarn start (for backend.) starts @ localhost:5000

In seperated terminal:

cd demo;
python -m SimpleHTTPServer 8000
open http://localhost:8000 # the alert will be popup.

Running with docker

docker build -t analytics .
docker run --rm -i -t -e MONGO_URI='YOUR_MONGO_DB_URL' -e PORT='80' -p 5000:80 analytics

Runnig with docker compose

App will be available at :5000.

docker-compose pull && docker-compose up --abort-on-container-exit

About

We want to create a new-gen analytics platform for developers to developers. This project's aim is a one-click analytics solution for open-source projects & more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published