Git Product home page Git Product logo

stock-market-scrapper's Introduction

Stock Market Scrapper

This is a mainly a Web Scrapper project. We scrapped data from Dhaka Stock Exchange website. For this we implemented a Worker Service project. Basically, it runs as a background service.

Installation

Firstly, clone the project-

https://github.com/nayeemsweb/Stock-Market-Scrapper.git

Secondly, Open the project in Visual Studio by running the StockData.sln solution file -

cd Stock-Market-Scrapper/src/StockData

Thirdly, From the Tools menu go to NuGet Package Manager option and click to Package Manager Console. Now, update migration using the following command -

dotnet ef database update --project StockData.Service --context StockDataScrapingDbContext

This will create a database named StockDataDb in your SQL Server (actually SSMS) and also the table(s) accordingly.

⚠️ Your must have SQL Server and SQL Server Management Studio installed on your machine.*

Environment Variables

In the Stock-Market-Scrapper/src/StockData/StockData.Service path there is a file named appsettings.json. If you face in updating the migration then configure this line -

"DefaultConnection": "Server=.\\SQLEXPRESS;Database=StockDataDb;Trusted_Connection=True;"

Keep the same DefaultConnection value in the appsettings.json file of Stock-Market-Scrapper/src/StockData/StockData.Worker project. You may change the Server vaule according to your configuration.

Tech Stack

Web Scrapper: HTML Agility Pack | NuGet Package

Backend: ASP.NET (Core) 6, Worker Service, Entity Framework (Core), Sql Server

Logger: Serilog

Dependency Injection: Autofac

Design Patterns: Repository & Unit of Work

Architecture: Layered Architecture (UI, Business Logic & Data Access Layer)

Features

  • Web Scrapper
  • Runs in the background (Service)
  • Stores data in the database

Support

❤️ If you do like my work, hit the ⭐️ button above. ❤️

License

MIT

stock-market-scrapper's People

Contributors

nayeemsweb 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.