ClauseWise is an open-source platform designed to assist individuals and businesses in generating legal documents with ease. Our mission is to simplify legal paperwork, making it more accessible, affordable, and efficient for everyone.
ClauseWise serves as a smart, user-friendly platform that democratizes access to legal document generation. Whether you're a small business owner, freelancer, legal professional, or an individual, ClauseWise helps you create accurate legal documents without the complexity.
- 📝 Document Drafting: Create custom legal documents with guided assistance
- 📋 Pre-made Legal Templates: Access a variety of ready-to-use legal document templates
- 🔄 Multiple Optional Templates: Choose from different variations to suit your specific needs
- 🎨 User-friendly Interface: Intuitive design for seamless document creation
- Small Business Owners
- Freelancers
- Legal Professionals
- Individuals needing legal documentation
ClauseWise/
├── Backend/ # Django backend
│ ├── app/ # Django app directory
│ ├── Backend/ # Django project settings
│ ├── db.sqlite3 # SQLite database
│ └── manage.py # Django management script
├── src/ # React frontend
│ ├── components/ # React components
│ ├── pages/ # React pages
│ └── ... # Other React configuration files
├── main.py # Python executable file
├── build.bat # First-time setup script
└── start.bat # Startup script
Before running the application, make sure you have:
- Python 3.8 or higher
- Node.js 14.0 or higher
- Clone the repository:
git clone https://github.com/yourusername/ClauseWise.git
cd ClauseWise- First-time setup:
build.batThis will automatically:
- Install all required Python packages
- Install necessary Node modules
- Set up the application environment
- Run the application:
start.batThis will:
- Start the Django backend server
- Launch the React development server
- Automatically open the application in your default browser at
http://localhost:8000
If you prefer to install manually or encounter any issues with the batch files:
- Set up the backend:
cd Backend
python -m venv venv
venv\Scripts\activate # On Windows
pip install -r requirements.txt- Set up the frontend:
cd ../
npm install # or yarn install- Start servers separately:
- Backend:
cd Backend && python manage.py runserver - Frontend:
npm run dev(in a new terminal)
- The React development server includes hot-reloading
- The SQLite database is included in the repository
- Python executable (
main.py) can be run separately if needed
tsconfig.json- TypeScript configurationvite.config.ts- Vite bundler configurationtailwind.config.js- Tailwind CSS configurationeslint.config.js- ESLint configuration
ClauseWise is an open-source project, and we welcome contributions from everyone! Here's how you can contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/improvement) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/improvement) - Create a Pull Request
- Add new legal document templates
- Improve existing templates
- Enhance the user interface
- Fix bugs
- Add new features
- Improve documentation
- Share feedback and suggestions
This project is open source and available under the MIT License.
For support, questions, or feedback:
- Open an issue in the GitHub repository
If you find ClauseWise helpful, please consider:
- Starring the repository
- Sharing it with others who might benefit
- Contributing to its development
Together, we can make legal documentation more accessible for everyone!