Giter Site home page Giter Site logo

mysampleapp's Introduction

Website URL Analyzer

Problem Statement

A small user-friendly website that allows the user to type a URL into an input box and then do the following:

  • 1- List all images from the target URL and show them to the user in a carousel or gallery control of some kind (borrow from the internet or write your own).
  • 2- Count all the words (display the total) and display the top 10 occurring words and their count (either as a table or chart of some kind, again you choose or write your own)

Techstack used

  • c#
  • clean architecture with core and infrastructure layer
  • Asp.net core web project (MVC)
  • OpenQA.Selenium.Chrome driver

Steps to run the application

  • Clone the repository
  • Build the solution
  • Select "IIS Express" in the visual studio solution
  • A new browser will open the application in "https://localhost:44388/"
  • click on the "URL Analyze" link from the main menu
  • Enter the desired URL e.g. "https://www.bbc.co.uk/news/entertainment-arts-66159357" and click on "Analyze" button
  • The desired result should show the total words count, most used words, and image list

Scope of improvement

  • At present the system may appear a bit slow as we have used chrome driver to get the correct HTML. This is required to crawl a modern website built on a headless concept.
  • Unit test framework is pending
  • minor validation like the empty text is out of scope

output

Screenshot of the expected result.

mysampleapp's People

Contributors

sachindabas avatar sachindabasaccenture avatar

Watchers

 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.