Giter VIP home page Giter VIP logo

eyeo's Introduction

Case study - Node.JS Automation Engineer

The following case study is meant to show the technical understanding and tangible workflow of a new Filter/Automation Engineer..

Getting Started

Installation

To install all dependencies, run:

npm install

Running Project

To start the project, run:

npm run

Running Unit Tests

To start the project, run:

npm test

Project structure

Directory Structure

Top-leve directory layout of the project

.
├── doc                     # Documentation files
├── lib                     # Library files
├── out                     # Output files
├── test                    # Unit test files
├── app.js                  # Main program
├── package.json
└── README.md

Directory layout of lib which contains common functions used by the project like delay, files, log etc.,

.
├── ...
├── lib                     # Library files
│   ├── abp_chrome          # AdBlockPlus chrome extension
│   ├── common.js           # Common functions
│   └── extra.js            # Extra features needed
└── ...

Directory layout of out which contains output files like screenshot, bounding rectangles data etc.,

.
├── ...
├── out                                # Output files
│   ├── bounding_rects.json            # Bounding rectangles
│   ├── marked_screenshot.png          # Entire page screenshot with marked rectangles
│   └── screenshot.png                 # Entire page screenshot
└── ...

See /doc for more information.

Dependencies

  • canvas: Canvas is used to draw bounding rectangles on screenshot.
  • fs: 'fs' is a file system package used to read/write files.
  • puppeteer: A high-level API to control headless Chrome over the DevTools Protocol.

Dev Dependencies

  • chai: BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
  • chai-fs: Chai assertions for Node.js filesystem.
  • jsdoc: An API documentation generator for JavaScript.
  • mocha: Simple, flexible, fun test framework.

eyeo's People

Contributors

mr-vara 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.