An open API service indexing awesome lists of open source software.

https://github.com/sagarpednekar/cms-monorepo

A powerful, full-stack CMS application built with modern technologies and monorepo architecture.
https://github.com/sagarpednekar/cms-monorepo

ant-design cms nextjs15 postgres prisma-orm react19 server-actions turborepo

Last synced: about 1 year ago
JSON representation

A powerful, full-stack CMS application built with modern technologies and monorepo architecture.

Awesome Lists containing this project

README

          

# Modern CMS Monorepo

A powerful, full-stack CMS application built with modern technologies and monorepo architecture.

## ๐Ÿš€ Tech Stack

- **Framework:** Next.js 15+ with App Router
- **Database:** PostgreSQL with Prisma ORM
- **Styling:** Ant Design (antd)
- **Monorepo:** Turborepo
- **Language:** TypeScript
- **Form Handling:** React Forms
- **Server Actions:** React Server Actions
- **Authentication:** NextAuth.js
- **State Management:** React Context + Hooks

## โœจ Features

- Monorepo architecture with shared packages
- Type-safe database operations
- Server-side rendering
- Modern form handling
- Responsive UI components
- Role-based access control
- Real-time data updates
- Optimized build system

## ๐Ÿ› ๏ธ Installation

```bash
# Clone the repository
git clone

# Install dependencies
pnpm install

# Setup environment variables
cp .env.example .env

# Setup database
pnpm db:push

# Run development server
pnpm dev
```

## ๐Ÿ“ Project Structure

```bash

apps/
โ”œโ”€โ”€ web/ # Next.js frontend
โ””โ”€โ”€ docs/ # Documentation site
packages/
โ”œโ”€โ”€ ui/ # Shared UI components
โ”œโ”€โ”€ database/ # Database schema & migrations
โ”œโ”€โ”€ config/ # Shared configurations
โ””โ”€โ”€ tsconfig/ # TypeScript configurations

```

### ๐Ÿš„ Development Commands

```bash
# Run development server
pnpm dev

# Build all apps
pnpm build

# Run tests
pnpm test

# Lint code
pnpm lint

# Format code
pnpm format
```

## ๐Ÿ”ง Environment Variables

```bash
DATABASE_URL="postgresql://..."
NEXTAUTH_SECRET="your-secret"
NEXTAUTH_URL="http://localhost:3000"

```

## ๐Ÿงช Testing

```bash
# Run unit tests
pnpm test

# Run e2e tests
pnpm test:e2e
```

## ๐Ÿ“ˆ Performance

- Optimized builds with Turborepo
- Server-side rendering for better SEO
- Automatic code splitting
- Image optimization
- API route optimization

## ๐Ÿค Contributing

- Fork the repository
- Create feature branch (git checkout -b feature/- amazing-feature)
- Commit changes (git commit -m 'Add amazing feature')
- Push to branch (git push origin feature/amazing-feature)
- Open Pull Request

## ๐Ÿ“„ License

MIT License

## ๐Ÿ‘ฅ Authors

- Sagar Pednekar(@sagarpednekar)

Made with โค๏ธ using Next.js and Turborepo