Giter VIP home page Giter VIP logo

supermarket-py's Introduction

supermarket-py

A project that scrapes price data from paraguayan supermarkets

Motivation and Objective

Create a dataset of products stocked in paraguayan supermarkets, make it easily accessible for anyone to download and make use of technologies I have recently learned.

Structure

├── README.md
├── backend
├── docker-compose.yml
├── linkgenerator
└── product_scraper

backend: a django-rest API for storing all of the information
linkgenerator: simple requests scripts that extracts all links from supermarkets' landing pages, stores urls in the backend
product_scraper: a scrapy project that has spiders that retrieve all urls stored in backend and finds all products in the supermarket website

Running the project

You should be able to run every component of the project by running the following command inside the component directory:

docker build -t <component_name> .

Note: Remember to create the .env from .env.sample file in the backend directory before building

Run Django+Postgres:

docker compose up --build

TO DO

  • Add logs
  • Add frontend
  • Add Dockerfile to every service
    • linkgenerator
    • product_scraper
  • Add rest of services to docker-compose file
    • linkgenerator
    • product_scraper

supermarket-py's People

Contributors

quanturtle avatar gomezag avatar

Stargazers

Torrez, Milton N. avatar  avatar Nahuel Pereira avatar

Watchers

 avatar

Forkers

gomezag

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.