Easy Agreement is a web-based application designed to simplify the understanding of legal contracts. The application allows users to upload legal contracts in PDF format and generate summarized versions, making the complex language more accessible and easier to comprehend.
- Contract Summarization: Upload legal contracts in PDF format and generate concise summaries of the most important points within the document.
- Accessibility Options: Customize font size, utilize the read-aloud feature, and translate the summary into preferred languages to enhance accessibility for all users.
- User-Friendly Interface: Easy-to-use web interface that simplifies the process of uploading, generating, and accessing summarized legal contracts.
To use Easy Agreement locally, follow these steps:
- Clone the repository:
git clone https://github.com/ri-tae-ka/EasyAgreement.git
- Navigate to the project directory:
cd easy-agreement
- Install dependencies in root folder as well as client folder:
npm install
- Create a
.env
file ~server/config/config.env
as.env.sample
- Create another
.env
file in the/client
folder as.env.sample
- Start the server side:
npm run dev
- Start the client side in another terminal:
cd client
andnpm start
- Access the application in your web browser at
http://localhost:3000
This project does not have a mongoDB connection setup. Setup the connection based on the environments below.
-
local development: create a config file (make sure to name it config.env) in the config folder, which exports your db.uri connection. An example is provided, server/config/config.env This file will be ignored by git so your db credentials will be kept safe when the app is deployed.
-
production: Make sure you name the environement variable "DB_URI".
-
MERN Stack:
- MongoDB: Database for storing user data and contract summaries.
- Express.js: Backend framework for handling HTTP requests and routing.
- React: Frontend library for building the user interface.
- Node.js: JavaScript runtime environment for server-side code.
Contributions to Easy Agreement are welcome! If you have suggestions for new features or improvements, please submit a pull request. For major changes, please open an issue first to discuss the proposed changes.
This project is licensed under the MIT License.
We would like to thank the developers and contributors who have made their libraries, frameworks, and resources available, enabling us to build Easy Agreement.