Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myomikron/webserver-template
Template for a webserver with Frontend
https://github.com/myomikron/webserver-template
Last synced: 19 days ago
JSON representation
Template for a webserver with Frontend
- Host: GitHub
- URL: https://github.com/myomikron/webserver-template
- Owner: myOmikron
- Created: 2024-04-02T13:01:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T18:24:37.000Z (4 months ago)
- Last Synced: 2024-07-11T21:31:47.913Z (4 months ago)
- Language: Rust
- Size: 667 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust webserver template
To use this template, ensure `cargo-generate` is installed:
```bash
cargo install -f cargo-generate
```To use this template, execute:
```bash
cargo generate --git https://github.com/myOmikron/webserver-template.git
```## Frontend
To initialize the frontend run:
```bash
cd frontend/ && npm install
```Also set the URL in `frontend/scripts/gen-api.sh` from which the `openapi.json` can be downloaded.
## Backend
To initialize the backend run:
```bash
cargo build -p webserver
```