Skip to content

half-orm/half-orm-gen

Repository files navigation

half-orm-gen

⚠️ Alpha — not for production.
This project is under active development. APIs, generated code structure, and CLI commands may change without notice between releases. Do not use in production environments.

A halfORM extension that generates a Litestar or FastAPI REST API and a frontend backoffice (SvelteKit 5 or Angular) from your half-orm-dev project.

Installation

pip install half-orm-gen

API

# Litestar
half_orm gen api --litestar
litestar --app ho_api/app:application run --reload

# FastAPI
half_orm gen api --fastapi
uvicorn ho_api.app:application --reload

Frontend backoffice

# SvelteKit 5
half_orm gen frontend --svelte
cd ho_frontend/svelte && npm install && npm run dev

# Angular
half_orm gen frontend --angular
cd ho_frontend/angular && npm install && npm start

Contributing

We are looking for contributors with expertise in:

  • Angular — improve generated components, routing, and state management
  • SvelteKit — improve generated stores, layouts, and page components
  • Litestar — improve the dynamic runtime, middleware, and OpenAPI integration
  • FastAPI — improve the dynamic runtime and Pydantic integration

See CONTRIBUTING.md for how to set up a development environment and the areas where help is most needed.


Documentation

Backend

Frontend (shared)

Angular

Svelte


See also

About

A halfORM extension that generates a Litestar or FastAPI REST API and a frontend backoffice (SvelteKit 5 or Angular) from your halfORM project.

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors