#backend-web #back-end #fast-cgi #web-server #async #web #server

tiny-web

tiny-web is a tiny async library (backend web server) that allows you to write a Laravel-style or Django-style backend in Rust language

1 unstable release

0.5.0 Mar 24, 2024
0.4.11 Dec 23, 2023
0.4.8 Sep 6, 2023
0.4.7 Aug 23, 2023
0.4.2 May 24, 2023

#664 in Database interfaces

Download history 5/week @ 2024-02-27 7/week @ 2024-03-12 106/week @ 2024-03-19 15/week @ 2024-03-26 19/week @ 2024-04-02

147 downloads per month

MIT license

385KB
8K SLoC

tiny-web

tiny-web is a tiny async library (backend web server) that allows you to write a Laravel-style or Django-style backend in Rust language.

Short documentation for the library is here.

Note
For security reasons, this library must be located behind the Primary web server, for example, under Nginx.

This library works only with FastCGI, SCGI, and UWSGI (modifier1=0) protocols.

Note
Support for GRPC, HTTP (hiding behind a Reverse Proxy), and WebSocket is also under development. Check out our repository on GitHub.

In addition, testing is performed exclusively under Nginx.

This library works with Postgresql 15+ database. But you can try the lower version.

The lib-install.sql file is in the root of the project as a temporary solution so that the server can start. In the future, the install and update command will be added to the library to install and update the database.

Contributing

If you'd like to contribute to tiny-web, check out our repository on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~19–33MB
~562K SLoC