Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_modules/
.next/
out/
dist/
.env*
!.env.example
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.tsbuildinfo
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
# dead-simple-crm
A minimal, opinionated CRM that does contacts, companies, deals, and notes — nothing more. Clean UI, fast search, CSV import/export. Built for people who want a CRM without the bloat of Salesforce or HubSpot. Every feature is a discrete bounty: filters, email integration, pipeline views, reporting.

## Development

Install dependencies and run the app:

```bash
npm install
npm run dev
```

Validate before opening a pull request:

```bash
npm run typecheck
npm run build
```

## Contact Form

The app includes:

- `/contacts/new` for adding a contact
- `/contacts/[id]/edit` for editing an existing contact
- fields for name, email, phone, company, tags, and notes
- required-field validation before saving to a local CRM preview
24 changes: 24 additions & 0 deletions app/contacts/[id]/edit/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { ContactForm } from "../../contact-form"

export default async function EditContactPage({
params,
}: {
params: Promise<{ id: string }>
}) {
const { id } = await params

return (
<>
<div className="page-heading">
<div>
<h1>Edit contact</h1>
<p>
Update core contact fields while preserving the same validation used
for new contacts.
</p>
</div>
</div>
<ContactForm mode="edit" contactId={id} />
</>
)
}
Loading