The Protevus Platform: Unified Full-Stack Development https://protevus.com
Find a file
2024-10-11 23:42:40 -07:00
.devcontainer Updated RethinkDB 2024-07-03 00:13:02 +08:00
.github/workflows Remove: deleting github actions 2024-10-01 20:34:22 -07:00
.vscode Updated to postgres 3 2024-01-06 18:33:09 +08:00
config Add: adding new folders to project structure 2024-10-01 20:53:00 -07:00
devops Refactor: new project structure in motion not complete 2024-10-11 23:42:40 -07:00
docs Refactor: new project structure in motion not complete 2024-10-11 23:23:45 -07:00
examples Add: adding new folders to project structure 2024-10-01 20:53:00 -07:00
helpers Refactor: new project structure in motion not complete 2024-10-11 23:42:40 -07:00
packages Refactor: moved core/ into packages/ will keep core packages together 2024-10-11 19:22:40 -07:00
resources Refactor: new project structure in motion not complete 2024-10-11 23:42:40 -07:00
scripts Refactor: new project structure in motion not complete 2024-10-11 23:23:45 -07:00
templates Refactor: new project structure in motion not complete 2024-10-11 23:23:45 -07:00
tests Refactor: new project structure in motion not complete 2024-10-11 23:23:45 -07:00
.cursorrules Refactor: new project structure in motion not complete 2024-10-11 23:23:45 -07:00
.fork Hard-Fork: Hard fork of the angel3 project as base for protevus 2024-10-01 19:51:04 -07:00
.gitignore Update: unlocking wspace 2024-10-11 11:23:39 -07:00
.pubignore Cleanup unused 2022-04-23 16:51:55 +08:00
AUTHORS.md Updated README 2021-05-16 16:07:47 +08:00
belatuk.session.sql Updated pubspec 2024-02-18 18:56:40 +08:00
CHANGELOG.md Updated to lints 3.0.0 2023-12-24 12:15:26 +08:00
CONTRIBUTING.md Updated repository links 2023-12-25 11:45:10 +08:00
LICENSE Update: restoring license back to original MIT 2024-10-01 20:21:23 -07:00
melos.yaml Add: adding new directories to build 2024-10-05 10:50:13 -07:00
pubspec.yaml Updated lints 2024-05-22 00:26:09 +08:00
README.md Update: updating project readme 2024-10-02 00:01:04 -07:00
TODO.md Updated to lints 3.0.0 2023-12-25 00:10:10 +08:00

Protevus Platform

Protevus Platform is a highly versatile and extensible application server platform for the Dart programming language. It is a hard fork of the Angel3 framework, inspired by Express.js and Laravel, aiming to provide a familiar and Laravel-compatible API while leveraging the power of Dart.

Note: This repository contains the core code of the Protevus Platform. If you want to build an application using Protevus, visit the main Protevus repository.

About Protevus

Protevus Platform allows developers to leverage their existing Laravel knowledge and experience in the Dart ecosystem. It combines the best features of Angel3 with Laravel-inspired design patterns and APIs, creating a powerful and familiar environment for web application development.

AI Assistance

The Protevus Platform project utilizes AI assistance in various aspects of its development process. We believe in leveraging the capabilities of AI to enhance productivity, code quality, and overall project progress while maintaining transparency and adhering to ethical practices.

AI Tools and Models

The following AI tools and models have been primarily employed in the development of the Protevus Platform:

  • Continue (continue.dev)
  • OpenRouter (openrouter.ai)
  • Claude (claude.ai)
  • Codestral (mistral.ai)
  • Voyage (voyage.ai)
  • Other tools and LLMs

Guidelines and Limitations

While AI assistance has been invaluable in accelerating certain aspects of development, we adhere to strict guidelines to ensure quality, security, and ethical use of AI in our development process.

Features

  • Laravel API Compatibility: Familiar API for Laravel developers
  • Modular Architecture: Separating core components and libraries
  • High Performance: Leverages Dart's efficient event-driven model and isolates for concurrent processing.
  • Asynchronous Processing: Built on Dart's async-await paradigm for non-blocking operations.
  • Extensibility: Support for custom extensions
  • Community-Driven: Open-source principles and community contributions
  • Modular Packages: Standalone Dart packages for each component
  • Comprehensive Routing: Powerful routing capabilities
  • Dependency Injection: Built-in support
  • Middleware Support: For filtering HTTP requests
  • Authentication & Authorization: Robust tools
  • Database Abstraction: Query builder and ORM
  • Queueing System: Manage background tasks
  • Event Broadcasting: Real-time event capabilities
  • Full-Stack Experience: Server-side views and Flutter support for frontends
  • WebSocket Support: Real-time communication
  • ORM and Database Integration: Work with various database systems
  • Templating Engine: For server-side rendering
  • Static File Serving: Built-in middleware
  • Scalability: Designed to handle multiple concurrent connections efficiently.
  • Testing Utilities: Comprehensive testing support

Getting Started

To get started with Protevus Platform, follow these steps:

  1. Install Dart: Ensure you have the Dart SDK installed on your system.

  2. Create a new project:

    • dart create -t console my_protevus_app cd
    • my_protevus_app
  3. Add Protevus dependencies: Add the following to your pubspec.yaml:

dependencies:
  protevus_framework: ^1.0.0
  protevus_configuration: ^1.0.0
  1. Run pub get:
dart pub get
  1. Create your first Protevus application: Replace the contents of bin/my_protevus_app.dart with:
import 'package:protevus_framework/protevus_framework.dart';
import 'package:protevus_framework/http.dart';

void main() async {
  var app = Protevus();
  var http = ProtevusHttp(app);

  app.get('/', (req, res) => res.write('Hello, Protevus!'));

  await http.startServer('localhost', 3000);
  print('Server listening at http://localhost:3000');
}
  1. Run your application:
dart run bin/my_protevus_app.dart

Visit http://localhost:3000 in your browser to see your Protevus app in action!

Documentation

Comprehensive documentation for Protevus Platform is available at protevus.com/docs/platform. The documentation covers installation, configuration, usage, and advanced topics, including guides and examples.

Plugins and Packages

Protevus Platform offers a wide range of official plugins and packages to extend its functionality, building upon the Angel3 ecosystem and introducing new Laravel-inspired components.

Community and Support

GitHub Discussions: github.com/protevus/platform/discussions Twitter: @Protevus Contributing We welcome contributions from the community! Please read our CONTRIBUTING.md for guidelines on how to contribute to Protevus Platform.

License

Protevus Platform is open-source software licensed under the MIT license.

Acknowledgements

Protevus Platform is built upon the foundation of Angel3 and inspired by Laravel. We'd like to thank the creators and contributors of both these frameworks for their invaluable work in the web development ecosystem.