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.
- Host: GitHub
- URL: https://github.com/sagarpednekar/cms-monorepo
- Owner: sagarpednekar
- Created: 2025-02-05T20:41:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-24T16:11:00.000Z (over 1 year ago)
- Last Synced: 2025-02-24T17:26:03.774Z (over 1 year ago)
- Topics: ant-design, cms, nextjs15, postgres, prisma-orm, react19, server-actions, turborepo
- Language: TypeScript
- Homepage: https://cms-monorepo-docs.vercel.app
- Size: 950 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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