Dartshine

Dartshine is a lightweight, readable, and high-performance backend framework designed to provide a clear and intuitive development experience in Dart.

Table of Contents

Features

  • Simple and clean syntax
  • SQLite and Postgresql ORM
  • Easy routing with dynamic url, parameters, cookies and custom status handling
  • Template Engine
  • Middlewares
  • Forms (with multiple fields type including file field)
  • Security based middlewares (CSRF and CORS)
  • Multiple render like HTML, JSON, text and custom render (in example for file)

Installation

To install Dartshine, you need to have Dart SDK installed. You can then add Dartshine as a global package:

dart pub global activate dartshine

Getting Started

Create a project

Then you can create a project with the following command:

dartshine create <project>

Run the project

To run the project you need to run the following command:

dart run

The base port is 8000

Documentation

The documentation is under construction.

Contributing

Contributions are welcome! Feel free to open issues or send pull requests.

License

This project is licensed under MIT. See the LICENSE file for more details

Libraries

dartshine