MiniWeb Template
| docker | ||
| docs | ||
| entity | ||
| migration | ||
| src | ||
| static | ||
| strinto | ||
| templates | ||
| .env.sample | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Justfile | ||
| NOTES.md | ||
| README.md | ||
| TODOS.md | ||
MiniWeb
Abstract
This is a biased little project, that tries to establish a basic infrastructure to build a webservice.
The main objective is to build a basic template one can quickly start developing a service with
The project aims to implement approaches as simple straight-forward over generalized multi-purpose.
It assumes that you clone the code, and adjust it from there, without keeping up to date. So this is not thought of being a framework.
Choices
Philosophies
- Semantic over Mnemonic
- As flat HTML as possible
On the Backend
axumas webserver frameworkminijinjaas template renderersea-ormas database framework
On the Frontend
markdown.cssto provide out of the box CSS for markdownhyperscriptfor light weight event scriptinghtmxfor service interactionFomantic-UIas default CSS framework (once Semantic)
Features
The aims of the project for now are:
- Template Rendering with Hot-Reload
- Static-File Serving
- Logging
- 404 Handler
- 500 Handler
- Media File Serving
- Admin Site with Registry
- Storage based tools (for files and cloud)
- Database
- Redis / KV Store
Future Ideas:
- Direct Markdown Sites as wikiserve with the storage tools
static-imageandmedia-imageService for automatic thumbnails- User and Role Implementation
- Event-Bus link to RabbitMQ
Windows 10
Env if using MINGW64;
export PATH=$PATH:"/c/Program Files/PostgreSQL/12/bin"
export PQ_LIB_DIR="C:\Program Files\PostgreSQL\12\lib"
Install a postgres:
choco install postgresql12 --force --params '/Password:root'
