🌑

Micah D. Cochran, MSCS

Legal Text Website

The project was to scrape the 1901 Constitution of Alabama, and build website that presents legal codes in a more usable website.

State’s Design

This is the State of Alabama’s design to display the Alabama Constitution as of 2022 with amendments. Their design is very basic.

Screenshot from State's website of the 1901 Constitution of Alabama

Redesign

The concept was to make small design improvements that could make the text more useable. This includes a new design, search, and easy to copy section links. A user login system is allows some actions like deleting legal codes that most users should not have.

Design for the new website that pulls the text from MongoDB.
Click on the chain icon and it copies the link that section to the clipboard. This feature only works on the Chrome based browsers.
Search results for “governor”.
Login screen.
Registration screen.
Create a new book.
Delete a new book.

Fonts

The fonts used in the design.

  • Libre Baskerville and Merriweather. These are serif fonts mainly intended to display legal
    text.
  • Inter. This is a san-serif font mainly for settings.

Notes

The Frontend is HTML and a small amount of Javascript. The backend is the Python Flask library. The text of the Alabama Constitution is stored in MongoDB. User credentials are stored in a SQLite database. There are options to install in Vagrant on a Virtual Machine or bare metal.

The scraper was custom Python code (using BeautifulSoup library). It was written in a manner to allows legal codes scraping from other websites. These scraper would need some level of customization.

Sole group member on the project for class CS 621 Advanced Web Application Development.

, , , , , , , , — Feb 12, 2023

Search

    Made with Hexo Hexo.js . Website's repo.