lryanle / SMARE

Social Marketplace Automotive Risk Engine Project (sponsored by Statefarm)
https://smare.lryanle.com
MIT License
6 stars 0 forks source link
beautifulsoup css framer-motion git html javascript json mdx mongodb next-auth nextjs nodejs npm python react selenium shadcn-ui swr tailwindcss typescript



Statefarm SMARE



SMARE Website GitHub commits GitHub pull request GitHub issues GitHub Repo Size Github License

The Social Marketplace Automotive Risk Engine (SMARE) Project. This project aims to detect supicious listings and potential instances of insurance fraud posted on the most popular social marketplace sites, such as Craigslist and Facebook Marketplace. In partnership between Statefarm and UTA CSE Senior Design. View the live deployment at smare.lryanle.com.

🔍 Table of Contents

💻 Stack

📝 Project Summary

⚙️ Setting Up

Database Access

Make a copy of the .env.example file and make the following changes.

  1. remove .example from the extension

  2. Paste the username and password provided in MongoDB Atlas (if you should have access but do not, please contact @waseem-polus)

  3. Paste the connection URL provided provided in MongoDB Atlas. Include the password and username fields using ${VARIABLE} syntax to embed the value of the variable

Run Scrapers locally

Prerequisites

Installing dependencies
Navigate to scrapers/ and open the virtual environment using

pipenv shell

Then install dependencies using

pipenv install

Scraper Usage
To create build a production-ready Docker Image use

pipenv run build

To create build a development Docker Image use

pipenv run dev

If there is an existing smarecontainer, run the following:

pipenv run stop

To run a docker container "smarecontainer" use (Note: delete any containers with the same name before running)

pipenv run cont

then

# Scrape Craigsist homepage
pipenv run craigslist

# Scrape Facebook Marketplace homepage
pipenv run facebook

🙌 Contributors

waseem-polus
Waseem Polus
lryanle
Ryan Lahlou
temitayoaderounmu
Temitayo Aderounmu
athiya26
Athiya Manoj
Yeabgezz
Yeabsra Gebremeskel

📊 Statistics

Metrics Pagespeed SMAREScreenShot

📄 License

This project is licensed under the MIT License - see the MIT License file for details.