salvo-rs / salvo-cli Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
source of inspiration Improvements to the program will be outlined below
use cargo workspace
add support for SPA so client side apps can be written.
Add support for surrealdb. It can be embedded as well as run in clusters, supports vector embeddings
use yaml for config, as this allows other folks in the team not familiar with rust or toml.
generate README.md so we know what the next step is. for now it probably doesn't matter as it just cargo run. For
example I had to read the code to understand where the swagger ui is.
add support for background jobs. I think this is very important to enable rich responsive servers.
add support for cron jobs
instead of rand_utils.rs considering using specific files such as password.rs.
Considering using traits for Services. This would allow us to change the implementation via config.
consider consistent naming for routes such as get_user_page_router (for html), get_user_route (for apis), - [ ] delete_user_route and so on.
remove demo.rs
considering using sub folders for templates.
Add support for sending emails. Emails usually have html templates too.
Add support for 2fa auth.
Add support for App passwords.
Add support for updating/reseting passwords.
call it open api instead of swagger.
add support for login, logout and register in homepage.
Add generic pagination concept.
add CSRF
add localization
add systemic and watch support so saving .rs files would automatically build
add support for server errors. might be even show stack traces in debug mode?
socket.io with https://github.com/Totodore/socketioxide for real time communication
in memory as well as distributed caching
generic storage using https://opendal.apache.org/. Allowing to easily swap files from files system to cloud storages.
Group templates into folder. Such as as templates/admin/users/list_page.html instead of templates/user_list_page.html.
Implement 500 internal server error page.
Add support for CSS minification/compliation. Might be can use grass which includes support for compiling SASS files so we get benefits for variables and imports that can be merged to a single file.
Use layout pages instead of duplicating code.
Don't default cors to the following. could be security issue.
small bug - when creating a API - SeaOrm - SqLite, the table name "user" is in DB and the query is for "users", after ALTER TABLE user RENAME TO "users"; everything is OK!
You've made an excellent CLI application, it's very convenient!!
Seems like salvo-cli is quite basic. Every time I write a new salvo project I copy paste lot of existing code. loco looks pretty great but is for Axum. It is inspired by Rails so has lot of ideas figured out already.
Would be more than happy to help out as necessary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.