https://github.com/anduin2017/zarya
Zarya is a web development framework based on C++, Linux and MVVM patten.
https://github.com/anduin2017/zarya
Last synced: about 1 year ago
JSON representation
Zarya is a web development framework based on C++, Linux and MVVM patten.
- Host: GitHub
- URL: https://github.com/anduin2017/zarya
- Owner: Anduin2017
- License: mit
- Created: 2017-01-04T12:14:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-02T17:44:02.000Z (over 1 year ago)
- Last Synced: 2025-03-30T00:27:06.852Z (about 1 year ago)
- Language: Less
- Homepage:
- Size: 1.66 MB
- Stars: 16
- Watchers: 4
- Forks: 4
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zarya
[](https://gitlab.aiursoft.cn/anduin/zarya/-/blob/master/LICENSE)
[](https://gitlab.aiursoft.cn/anduin/zarya/-/pipelines)
[](https://gitlab.aiursoft.cn/anduin/Zarya/-/commits/master?ref_type=heads)
Usage: After starting Zarya, it will serve as a web application with the wwwroot directory as the root directory and port 8080 as the port number.
## Why this project is no longer maintained
While maintaining Zarya, I suddenly realized that there are too many details to handle when building a web server...
Middleware, caching, dependency injection, resumable downloads, ETags, cookies, context discovery and response rendering, performance, filters, protectors...
For friends who are interested in Zarya, it is not complete, with only basic static file hosting capabilities. If you are willing to extend it, please take this code with you.
## How to run
Environment required for running:
* Linux Or Unix (not supported on Windows)
Installation required before running:
* g++
Commands required to start the project:
```bash
mkdir Bin &> /dev/null
g++ ./Program.cpp -o Bin/Program.out
./Bin/Program.out
```
Then start your browser and visit the following URL:
>http://localhost:9000/
If you can experience the application normally, congratulations, you have completed the compilation, linking and running of this project!