Skip to content

whoisyurii/mashchukCRM

Repository files navigation

Mashchuk CRM

Mashchuk CRM Dashboard

A modern CRM system for managing companies, users, and business operations.


🚀 Tech Stack

Frontend

  • React (TypeScript)
  • Vite
  • React Query (@tanstack/react-query)
  • Tailwind CSS v3
  • Recharts
  • React Leaflet

Backend

  • Node.js (ESM)
  • Express.js
  • Prisma ORM
  • Swagger (OpenAPI YAML docs)

Database

  • PostgreSQL

📦 Monorepo Structure

├── apps/
│   ├── frontend/   # React + Vite app
│   └── backend/    # Express API, Prisma, Swagger
├── package.json    # Monorepo root
├── docker-compose.yml

🖼️ Screenshots

Dashboard Add Company Mobile Dashboard
Dashboard Add Company Mobile Dashboard
  • Dashboard, company management, mobile view

🧪 Demo Accounts & Roles

To gain access, seed the local database with demo users and roles using the provided seed script. Default credentials are set in apps/backend/prisma/seed.js.

Role Email Password
SuperAdmin admin@mycrm.com password123
Admin manager@mycrm.com password123
User user@mycrm.com password123
User emily.user@mycrm.com password123

Note: You can preview or change demo passwords in apps/backend/prisma/seed.js.


🛠️ Getting Started

Local Development

  1. Install dependencies:
    npm install
  2. Setup environment variables:
    • Copy .env.example to .env in apps/backend and configure DB connection.
  3. Run database migrations and seed:
    npm run migrate && npm run seed
  4. Start development servers:
    npm run dev

Docker

  1. Run with Docker Compose:

    docker-compose up -d
  2. Access the application:


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published