Skip to content

pdovhomilja/nextcrm-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

450 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OG

NextCRM is an open-source CRM built with Next.js 16, React 19, TypeScript, PostgreSQL (Prisma 7), and shadcn/ui. Features CRM, project management, invoicing, document storage, email client, and AI-powered features.

X (formerly Twitter) URL GitHub License

Introduction · Tech Stack + Features · Roadmap · Installation · Repo activity · License · Discord


Online Demo

You can try it here demo.nextcrm.io, login via Google account or create new user and password.

Tech Stack + Features

Frameworks

  • Next.js 16.1.6 – React framework for building performant apps with the best developer experience (App Router)
  • next-auth 4.x – Handle user authentication with ease with providers like Google, GitHub, and Credentials
  • Prisma 7.4.0 – TypeScript-first ORM for PostgreSQL
  • React Email 2.x – Versatile email framework for efficient and flexible email development

Platforms

  • PostgreSQL 17+ – Powerful open-source relational database (self-hosted or any provider)
  • Resend – A powerful email framework for streamlined email development together with react.email
  • UploadThing + S3-compatible storage (DigitalOcean Spaces) – for document file storage

Data fetching

  • SWR – React Hooks library for remote data fetching
  • Axios – Promise based HTTP client for the browser and node.js
  • Server Actions - for server side data fetching
  • TanStack React Table - for data tables and server/client side data fetching

UI

  • Tailwind CSS v4 – Utility-first CSS framework for rapid UI development
  • shadcn/ui – Re-usable components built using Radix UI and Tailwind CSS
  • Tremor – A platform for creating charts
  • Lucide React – Beautiful and consistent open-source icons

AI

  • OpenAI API - for automated email notifications and project management assistant
  • Rossum - for invoice document parsing with AI
  • Vercel AI SDK 6.x - unified AI interface

i18n

  • next-intl – Internationalization for Next.js — English, Czech, German, Ukrainian

hero

Roadmap

  1. ✅ Docker version — complete bundle to run NextCRM on-premise
  2. ✅ Upgrade to Next.js 16 — running on Next.js 16.1.6 with React 19
  3. ✅ i18n / localization — 4 languages (English, Czech, German, Ukrainian)
  4. ✅ Email client — IMAP/SMTP email client built in
  5. ✅ PostgreSQL migration — migrated from MongoDB to PostgreSQL 17+
  6. 🔄 More AI powered features — daily summary of tasks and projects (extended OpenAI integration)
  7. 📋 Email campaigns management — integration with MailChimp and Listmonk
  8. 📋 Testing expansion — Jest + Playwright coverage (contributions welcome!)
  9. 🔄 Fix all TypeScript any types — ongoing cleanup

Emails

We use resend.com + react.email as primary email sender and email templates.

Reports

We use Tremor charts as a tool for creating charts in NextCRM

hero

Video (YouTube channel with functions showcase)

Youtube Channel
Invoice module (video)

Documentation

Available soon at: http://docs.nextcrm.io

Installation

Show instructions
  1. Clone the repository:

    git clone https://github.com/pdovhomilja/nextcrm-app.git
    cd nextcrm-app
  2. Install the preset:

    pnpm install
  3. Copy the environment variables to .env

    cp .env.example .env
    cp .env.local.example .env.local

    .env

    • You will need a PostgreSQL connection string for Prisma ORM
    • Example: DATABASE_URL="postgresql://user:pass@localhost:5432/nextcrm?schema=public"
    • Requires PostgreSQL 17+ (self-hosted or any provider)

    .env.local

    • NextAUTH - for auth
    • uploadthings - for storing files
    • rossum - for invoice data exporting
    • openAI - for automatic Project management assistant
    • SMTP and IMAP for emails
  4. Init Prisma

     pnpm prisma generate
     pnpm prisma db push
  5. Import initial data from initial-data folder

    pnpm prisma db seed
  6. Run app on local

    pnpm run dev
  7. http://localhost:3000

Docker installation

Link to Docker HUB

Show instructions
  1. Make sure you have docker and docker-compose installed

  2. Prepare .env and .env.local files

    .env (for Prisma URI string) and .env.local (all others ENVs) file inside docker folder
    
  3. build docker image

    docker build -t nextcrm .
  4. Run docker container

    docker run -p 3000:3000 nextcrm
  5. http://localhost:3000

Contact

www.dovhomilja.cz
X (formerly Twitter) URL

Contributing

We are open to the NextCRM community contributions. Every contribution is welcome.

Issues

  • Open an issue if you find a bug or have a suggestion for improvements.

NextCRM Super heroes

Made with contrib.rocks.

Repo Activity

Alt

Star History

Star History Chart

License

Licensed under the MIT license.

About

NextCRM — Open-source CRM built with Next.js 16, React 19, PostgreSQL, Prisma 7, and shadcn/ui. CRM, projects, invoicing, documents, email client & AI features.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors

Languages