Royce

screenshot of Royce
solid

Extremely simple Axum + SolidJS starter for a fullstack web application.

Overview

The royce framework is an extremely simple yet powerful fullstack web application starter built with Axum for the backend and SolidJS for the frontend. It allows developers to deploy their applications immediately using preconfigured Docker deployment, streamlining the development process. With a focus on high performance, royce combines several modern technologies, making it an ideal choice for those looking to develop efficient and scalable web applications.

Royce stands out with its unique architectural choices and ease of use. SolidJS, known for its fine-grained reactivity, ensures that only necessary components re-render, providing a significant performance advantage over similar frameworks like React. The backend utilizes Rust's Axum framework, offering a robust environment for building REST APIs. Together, these features create a seamless user experience and efficient development workflow.

Features

  • High-Performance Frontend: Leverages SolidJS for fine-grained reactivity, ensuring optimal rendering performance by only updating changed components.

  • Robust Backend with Rust: Built using Axum, providing a powerful and easy way to write REST APIs with a focus on async performance.

  • Multi-Container Docker Deployment: All components, including the frontend, backend, database, and session store, run as a Docker Compose application, simplifying deployment.

  • Session Management: Supports both Redis and in-memory database sessions, offering flexibility depending on application needs.

  • Comprehensive Middleware Support: Easily integrate essential middleware features like CORS, rate limiting, and request size limiting for secure and efficient handling of requests.

  • Database Compatibility: Includes support for PostgreSQL as the object-relational database, with ease of setup and management.

  • Flexible Styling Options: While styled with Tailwind CSS, developers can easily switch to any preferred styling solution to suit their project needs.

  • Detailed Documentation: Includes step-by-step setup instructions for both Docker-based development and local development, making it accessible for developers of all skill levels.

solid
Solid

SolidJS is a declarative JavaScript library for building user interfaces, offering a reactive programming model for efficient updates. It stands out for its reactivity system that minimizes unnecessary re-renders and its small bundle size, making it a performant choice for developing lightweight and reactive web applications.