All Projects → Jrc356 → analytics-dashboard

Jrc356 / analytics-dashboard

Licence: MIT License
A custom analytics dashboard built with nodejs and react

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to analytics-dashboard

vuejs-admin-dashboard-template
Mosaic Lite is a free admin dashboard template built on top of Tailwind CSS and fully coded in Vue. Made by
Stars: ✭ 139 (+414.81%)
Mutual labels:  analytics-dashboard
Tweet-Analysis-With-Kafka-and-Spark
A real time analytics dashboard to analyze the trending hashtags and @ mentions at any location using kafka and spark streaming.
Stars: ✭ 18 (-33.33%)
Mutual labels:  analytics-dashboard
php-analytics-event
Create a Google Analytics Event from PHP
Stars: ✭ 23 (-14.81%)
Mutual labels:  google-analytics-api
manuarora.in
🙌🏻 Personal website built using Next.js & TailwindCSS.
Stars: ✭ 53 (+96.3%)
Mutual labels:  google-analytics-api
tailwind-dashboard-template
Mosaic Lite is a free admin dashboard template built on top of Tailwind CSS and fully coded in React. Made by
Stars: ✭ 1,662 (+6055.56%)
Mutual labels:  analytics-dashboard
Dashboards
Responsive dashboard templates 📊✨
Stars: ✭ 10,914 (+40322.22%)
Mutual labels:  analytics-dashboard
apideveloperio-laravel
Laravel API adapter to track each http request app handled.
Stars: ✭ 21 (-22.22%)
Mutual labels:  analytics-dashboard

Build Status

Analytics Dashboard

This analytics dashboard is a custom built website analytics dashboard built on Nodejs and React. It utilizes the googleapis package to read metrics and display them in a simple and elegant way. It also implements real time analytics using Socket.io and a custom script. This project was written as a project for an upcoming article (stay tuned for link)

Installation & Usage

Install the packages necessary by first installing the server side packages. Then install the client side packages.

Create a .env file with the following variables:

SERVER_PORT=<port>
NODE_ENV=<development/production>
CLIENT_EMAIL=<google service account email>
PRIVATE_KEY=<google service account private key>
VIEW_ID=<google analytics view id>

From the top level directory install with yarn or npm:

$ yarn install
$ cd client
$ yarn install

or

$ npm install
$ cd client
$ npm install

Finally, run npm start from the top level directory.

This will start the node server and open the local webpack server for the front end.

NOTE: The start script is built for *nix systems and uses && so it will not work on Windows systems at this time. I do have an open issue for this and will return to it in the near future.

Deployment

Build the client by doing the following: From the top level directory:

$ cd client
$ yarn build

or, using npm:

$ cd client
$ npm build

Then change the NODE_ENV variable in .env to production Finally, use npm run server from the top level directory. This will start up the node server using the client build output as the static directory. You can now navigate to localhost:<SERVER_PORT> and see your app.

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].