The ultimate full-stack experience.
Warning This project is in early preview.
This project can be used as a CLI:
cargo install ultime
This project includes features that will give you a faster and better development workflow using the following tech stack:
The main feature is the automatic of code generation based on your SurrealDB schemas and queries. An ultime project should look like this:
/schemas
· schemas folder from surrealdb-migrations/events
· events folder from surrealdb-migrations/migrations
· migrations folder from surrealdb-migrations/queries
· a list of .surql files that contains the specific queries for your project (only fetch data)/mutations
· a list of .surql files that contains the specific mutations for your project (change data)/src
/api
· list of API endpoints/components
· list of components that can be used anywhere/db
/crud
· functions for basic CRUD operations, generated from /schemas
files/events
· functions to execute SurrealDB events, generated from /events
files/mutations
· functions to update db, generated from /mutations
files/queries
· functions to query db, generated from /queries
files/models
· list of structs used in the appqueries.rs
· types of the response of each query from /queries
files (this file is currently not automatically generated)mutations.rs
· types of the response of each mutation from /mutations
files (this file is currently not automatically generated)/pages
· list of higher order components that can be used as a routeTo help you get started quickly, there is a list of predefined templates you can use:
| Template | Description |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| empty | The smallest ultime project you can create.
A clean schema with an already defined script_migration
table to store the applied migrations.
A basic leptos app with a Counter example. |
| blog | A blog app: create new blog posts, publish/unpublish posts and comments. |
You can create a new ultime project using the following command line:
ultime new <PROJECT_NAME> --template <TEMPLATE>