ClauseShield
ClauseShield offers free AI-assisted contract reviews for creators, first-party email/password accounts, and configurable free quotas. It highlights contract terms for user review and is not legal advice.
Monorepo apps
| App | Directory | Port | Purpose |
|---|---|---|---|
| User web | apps/web | 3000 | Public tools, account pages, dashboard |
| Admin app | apps/admin | 3001 | Restricted operational controls |
| API | apps/api | 4000 | NestJS, DynamoDB, SES, Gemini |
| Docs | apps/docs | 3002 | This Docusaurus site |
Local development
npm install
npm run dev
Local API development uses JSON-backed DynamoDB fallback when AWS credentials are absent. SES email bodies are logged locally so account verification and password reset can be tested.
Authentication and usage
There is no third-party identity provider. Passwords use salted scrypt hashes; SES sends expiring verification and reset links. Signed user sessions are validated by the API. Admin credentials are stored in GitHub Actions secrets and produce expiring signed sessions.
Defaults are 1 anonymous scan/day and 7/week, plus 5 account reviews/day and 35/week. Admins configure limits in Platform Settings. Anonymous browser IDs are not a strong abuse-control mechanism.