Giter Site home page Giter Site logo

fl-legal-doc-generator's Introduction

This app stores templates for a variety of legal documents. Templates can be added, updated, and deleted. The site linked here currently only contains data for FL summonses.

API requests can currently be made using https://fl-legal-docs-api.herokuapp.com/summons/countyName&tier to get summons text in json format. The values for tier are sc, cc, and ca. Example: https://fl-legal-docs-api.herokuapp.com/summons/manatee&sc

Tech Used

The server for this app was built using node and express. Testing for the get requests was performed using Postman. MongoDB was used for the database. [TinyMCE](https://www.tiny.cloud/) was used as the text editor for adding and updating templates.

Future Optimizations

The base CRUD features of this app are functional, and I will be working on the following:

  • Adding in the missing summons data for all Florida counties
  • Autofill party, case number, and document title information into templates from an xlsx or csv file and print the resulting completed summons document as a pdf file
  • Clean up UI for add and edit forms (reduce to single form or split add and update features to separate pages or hide one form while the other is displayed, add popup message to indicate to user that template has been added or updated successfully)
  • Add styling
  • Adding functionality for FL Orders to Appoint Process Server

Lessons Learned

When I was first starting to work with APIs, I kept running into a CORS error that prevented me from being able to use the API. It was very cool to discover that the solution to this issue was just adding in a couple lines of code to require and ensure the API met the CORS standard.

I also learned HTML forms only support POST and GET requests. In order to work around this limitation I learned how to use method-override.

fl-legal-doc-generator's People

Contributors

xiaolgrant 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.