MiniWeb Template
| docker | ||
| entity | ||
| migration | ||
| src | ||
| static | ||
| templates | ||
| .env.sample | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Justfile | ||
| NOTES.md | ||
| README.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
On the Backend
axumas webserver frameworkminijinjaas template renderersea-ormas database frameworkrust_embedto embed vital static files
On the Frontend
markdown.cssto provide out of the box CSS for markdownhyperscriptfor light weight event scriptinghtmxfor service interactionGUIKitfor a default CSS framework
Features
The aims of the project for now are:
- Template Rendering with Hot-Reload
- Static-File Serving
- 404 Handler
- 500 Handler
- Media File Serving
Future Ideas:
- Direct Markdown Sites with wikiserve
static-imageandmedia-imageService for automatic thumbnails- Small Admin Layer
- User and Role Implementation
- Event-Bus link to RabbitMQ
- Logging
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'