Giter VIP home page Giter VIP logo

haractivity's Introduction

HarActivity

Analyze .har files.

Flow Map

More screenshots can be found here.

About The Project

This project is part of the Computer Engineering and Informatics Department (CEID) of University of Patras Web Programming & Systems course. It features a website that filters and analyzes .har files. In more detail, a user can create an account and choose a .har file from their local machine. After that, the website filters the chosen file and presents the user with two options, download the new filtered file on their local machine and/or upload it to their profile. If the user chooses to upload the file on their profile, they have the ability to see the server locations of the requested websites on a heatmap (based on the uploaded files). Additionally, a user with admin privileges can have access to more information about all the .har files uploaded on the database (number of users, number of distinct ISPs, etc).

Built With

The project was built with the MERN Stack.

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

  • Node.js
  • npm
  • MongoDB

For more information on how to install Node.js and npm, visit Node.js website.

For more information on how to install MongoDB, visit MongoDB website.

Installation

  1. Get a free Access Token at mapbox.

  2. Setup a local database. More information in MongoDB website.

  3. Clone the repo.

    git clone https://github.com/gthomas08/HarActivity.git
  4. Change directory to server.

  5. Install npm packages.

    npm install
  6. Set the environmental variables in .env file.

    MONGODB_URI = '<MONGODB_URI>'
    PORT = <port_number>
    SECRET = '<secret_key_for_token>'
  7. Start the server.

    npm run dev
  8. Change directory to client.

  9. Install npm packages.

    npm install
  10. Set the environmental variables in .env file.

    REACT_APP_MAPBOX_ACCESS_TOKEN = '<mapbox_api_key>'
    REACT_APP_IP_ADDRESS = '<your_public_ip>'
  11. Start react app.

    npm start

Usage

In order to use the app, visit http://localhost:3000/.

Start by creating a user and then upload a .har file.

haractivity's People

Contributors

gthomas08 avatar leo-tsant avatar

Watchers

 avatar

Forkers

leo-tsant

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.