ordojs
v0.5.0-beta.4
Published
A revolutionary web framework with compile-time optimizations and unified client-server development
Downloads
19
Maintainers
Readme
OrdoJS Framework
A revolutionary web framework with compile-time optimizations and unified client-server development
Status: Beta - Not recommended for production use
🚀 Quick Start
Installation
# Install the OrdoJS CLI globally
npm install -g @ordojs/cli@beta
# Or using pnpm (recommended)
pnpm add -g @ordojs/cli@betaCreate Your First Project
# Create a new OrdoJS project
ordojs init my-app
# Navigate to your project
cd my-app
# Start the development server
ordojs devVisit http://localhost:3000 to see your application running!
✨ Features
- 🔧 Compile-time Optimizations - Advanced code analysis and optimization at build time
- 🌐 Unified Client-Server Development - Write once, run everywhere
- ⚡ Lightning Fast - Optimized for performance with minimal runtime overhead
- 🎨 Beautiful UI Components - Built-in component library with stunning visuals
- 🛠️ TypeScript First - Full TypeScript support with excellent type inference
- 📦 Monorepo Architecture - Scalable package structure for enterprise applications
- 🔍 Hot Module Replacement - Instant feedback during development
- 📱 Responsive Design - Mobile-first approach with adaptive layouts
📦 Project Structure
ordojs/
├── packages/
│ ├── cli/ # Command-line interface
│ ├── core/ # Core compiler and runtime
│ ├── docs/ # Documentation site
│ └── vscode-extension/ # VS Code extension
├── examples/ # Example applications
└── tests/ # Test suites🛠️ Development
Prerequisites
- Node.js >= 18.0.0
- pnpm >= 8.0.0
Setup
# Clone the repository
git clone https://github.com/Piggzy76/OrdoJS.git
cd ordojs
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm testAvailable Scripts
# Development
pnpm dev # Start development server
pnpm build # Build all packages
pnpm test # Run test suite
pnpm test:watch # Run tests in watch mode
# Code Quality
pnpm lint # Run ESLint
pnpm lint:fix # Fix linting issues
pnpm format # Format code with Prettier
pnpm typecheck # Run TypeScript type checking
# Maintenance
pnpm clean # Clean build artifacts📚 Documentation
🎯 CLI Commands
# Project Management
ordojs init <project-name> # Create a new project
ordojs dev # Start development server
ordojs build # Build for production
ordojs deploy # Deploy to hosting platform
# Development Tools
ordojs test # Run test suite
ordojs lint # Lint code
ordojs format # Format code
# Information
ordojs version # Show detailed version info
ordojs --help # Show help information🔧 Configuration
OrdoJS uses a simple configuration file (ordojs.config.js) for project settings:
export default {
// Build configuration
build: {
outDir: 'dist',
minify: true,
sourcemap: true,
},
// Development server
dev: {
port: 3000,
host: 'localhost',
},
// Compiler options
compiler: {
target: 'es2020',
module: 'esnext',
},
};🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Run tests:
pnpm test - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
��️ Roadmap
- [ ] v0.6.0 - Enhanced component library
- [ ] v0.7.0 - Advanced debugging tools
- [ ] v0.8.0 - Plugin system
- [ ] v1.0.0 - Production ready release
🙏 Acknowledgments
- Built with ❤️ by the OrdoJS Framework Team
- Inspired by modern web development practices
- Powered by TypeScript and Node.js
Version: 0.5.0-beta.1 Last Updated: December 2024 Status: Beta - Active Development
