Backend includes a web crawler that scrapes federal government websites for most recent laws and regularly sends mailing list emails containing information about the laws that were recently passed. Frontend includes a stylish website where new readers learn about the purpose behind the web scraping application and sign up to receive emails.
- U.S. federal laws
- Canadian federal laws (in progress)
- Make sure Python (>= 3.8) and JavaScript are properly installed.
- Clone this repository.
- Open up terminal at
LawScraper/and install all package.json dependencies withnpm install. - Stay in the same folder and install Python requirements with
pip install -r requirements.txt.
- Go to
LawScraper/ - Run
python backend/us.py
- Go to
LawScraper/ - Run
npm start - Go to your preferred web browser and go to
localhost:3000/views/index.html