1.0.3 • Published 7 months ago
@shoraneon/core v1.0.3
@shoraneon/core
Enterprise-grade headless CMS core library by Shora, designed for building modern, scalable content management systems.
Overview
Shora CMS Core is a powerful, flexible, and developer-friendly headless CMS library that enables enterprises to build and scale their content infrastructure. Built with TypeScript and modern best practices, it provides a robust foundation for content management needs.
Key Features
🏢 Enterprise-Ready
- Multi-tenant architecture
- Role-based access control (RBAC)
- Audit logging and compliance
- High availability and scalability
🛠 Developer Experience
- Type-safe schema definitions
- Modern GraphQL API
- Extensive plugin system
- Next.js integration
🔒 Security
- Advanced authentication
- Fine-grained permissions
- Data encryption
- Security best practices
🚀 Performance
- Optimized database queries
- Caching mechanisms
- Real-time updates
- CDN integration
Quick Start
# Using npm
npm install @shoraneon/core
# Using yarn
yarn add @shoraneon/core
# Using pnpm
pnpm add @shoraneon/core
Basic Usage
import { createSchema, defineField } from '@shoraneon/core';
// Define your content schema
const pageSchema = createSchema({
name: 'page',
fields: [
defineField({
name: 'title',
type: 'string',
required: true,
localized: true,
}),
defineField({
name: 'content',
type: 'richText',
localized: true,
}),
],
});
// Initialize with enterprise configuration
const cms = initializeCMS({
schemas: [pageSchema],
security: {
rbac: true,
auditLogs: true,
encryption: {
enabled: true,
algorithm: 'aes-256-gcm',
},
},
performance: {
caching: {
enabled: true,
ttl: 3600,
},
},
});
Enterprise Features
Multi-Environment Support
- Development, staging, and production environments
- Environment-specific configurations
- Data isolation between environments
Content Workflow
- Draft and publish workflow
- Content versioning
- Scheduled publishing
- Review and approval processes
Security & Compliance
- Role-based access control
- Audit logging
- Data encryption at rest
- GDPR compliance tools
Performance & Scaling
- Horizontal scaling
- Load balancing
- Caching strategies
- CDN integration
Integration Capabilities
- REST and GraphQL APIs
- Webhook support
- Custom authentication
- Third-party integrations
Documentation
For comprehensive documentation, visit shora.cloud/docs
Support & Enterprise Solutions
- Enterprise Support: support@shora.co
- Professional Services: shora.co
- Cloud Platform: shora.cloud
License
MIT © Shora