GithubHelp home page GithubHelp logo

senadev42 / ecana Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.55 MB

ECX Scraping, Price Tracking and Analytics

Home Page: https://ecana.vercel.app/

License: Apache License 2.0

TypeScript 94.57% CSS 4.95% JavaScript 0.47%

ecana's Introduction

ECANA | Ethiopian Commodity Price Tracking and Analytics

February 21, 2024: There's market speculation that the ECX might be shedding its grain and beans portfolio and might only be trading coffee and tea from now. Site is still operational but is seeing occasional downtime which might start translating to missing entries in the dataset or a potential approach rework from my side alltoghether.



Scrapes data from ecx website using cheerio (and the axios cookie jar because they have some wierdness going on there with that), saves it to mongodb, and renders it on a React/Next.js frontend.

Initial implementation for this site was created using data from the nbe markets site (because ECX site wasn't stable back then) and as such was sort of limited. This gets data directly from there and as such has much more detail. Currently focused on Coffee only while I get it stable. But even then there's dozens of coffee contracts.

Storage wise going for storing time series data and transforming it on demand as needed.

Roadmap

  • Basic Price Tracking
  • Commodity Overview Page
  • Specific Contract Details Page
  • Visualization

Contributing

Installation

  1. Clone the repository.
  2. Install dependencies: npm install
  3. Set up MongoDB and configure connection strings. You'll need a mongo connection string (MONGO_DB_URI) inside your .env to connect to a database.

Running the Application

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

ecana's People

Contributors

senadev42 avatar

Stargazers

Kirubel Kibru Mesfin 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.