Skip to content

RocketPHP-org/RocketSchema

Repository files navigation

RocketSchema

A universal schema standard for business applications

A standardized and reusable vocabulary for structuring business data across CRM, ERP, e-commerce, and any business application.

Overview

RocketSchema provides a collection of schemas (types, properties, and relationships) that allow you to capitalize on proven designs for common business entities:

  • Person: individuals, employees, contacts
  • Organization: companies, subsidiaries, partners
  • Product: items, services, references
  • Invoice: invoices, credit notes, quotes
  • Order: orders, purchase orders
  • And many more...

Why RocketSchema?

The Problem

Every business application (CRM, ERP, e-commerce platform) reinvents the wheel by creating its own data structures for universal concepts. This leads to:

  • Duplication of effort: repeated design of the same entities
  • Incompatibility: difficulty integrating between systems
  • Loss of knowledge: best practices not shared
  • Development time: slow start for new projects

The Solution

RocketSchema offers a common repository that:

✅ Standardizes business data structures ✅ Facilitates interoperability between applications ✅ Accelerates development of new solutions ✅ Capitalizes on industry best practices

Tech Stack

This project is built with:

  • Next.js 14 - React framework
  • TypeScript - Type safety
  • Tailwind CSS - Styling
  • JSON - Data source (no database)

Getting Started

Installation

npm install

Development

npm run dev

Open http://localhost:3000 to see the application.

Build

npm run build
npm start

Project Structure

/
├── src/
│   ├── app/          # Next.js app router pages
│   ├── components/   # React components
│   ├── lib/          # Utility functions
│   └── types/        # TypeScript type definitions
├── data/
│   ├── core-entities/     # People, Organizations
│   ├── products/          # Product catalog schemas
│   ├── financial/         # Invoices, Payments
│   ├── orders/            # Orders, Commerce
│   └── support-types/     # Addresses, Values
└── public/                # Static assets

Adding New Schemas

Simply create a new JSON file in the appropriate category folder:

# Add a new category
mkdir -p data/my-category/schemas
echo '{"name":"my-category","label":"My Category",...}' > data/my-category/category.json

# Add a new schema
data/my-category/schemas/MySchema.json

No code changes needed - schemas are loaded dynamically!

Contributing

Contributions are welcome! This project aims to become a community standard.

See CONTRIBUTING.md for branch strategy and contribution guidelines.

License

MIT - Free to use for all commercial and open source projects


RocketSchema - Accelerate your business application development with shared standards 🚀

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published