Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skye-z/quest
a ultra mini system for question bank management and mock exams
https://github.com/skye-z/quest
examination questions subject
Last synced: about 11 hours ago
JSON representation
a ultra mini system for question bank management and mock exams
- Host: GitHub
- URL: https://github.com/skye-z/quest
- Owner: skye-z
- License: gpl-3.0
- Created: 2023-06-01T08:38:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-24T05:29:35.000Z (3 months ago)
- Last Synced: 2024-08-24T06:24:18.252Z (3 months ago)
- Topics: examination, questions, subject
- Language: Go
- Homepage: https://quest.betax.dev
- Size: 675 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quest - Exercise Assistant
[中文](README_zh.md)
Quest is a ultra mini system for question bank management and mock exams.
[![](https://img.shields.io/badge/Go-1.20+-%2300ADD8?style=flat&logo=go)](go.work)
[![](https://img.shields.io/badge/Quest%20Service-1.0.2-green)](control)
[![](https://img.shields.io/badge/Quest%20Page-1.0.2-blue)](https://github.com/skye-z/quest-page)
[![](https://img.shields.io/badge/Quest%20Extension-1.0.0-red)](https://github.com/skye-z/quest-extension)
[![](https://img.shields.io/badge/License-GPL%20v3.0-orange)](LICENSE)[![CodeQL](https://github.com/skye-z/quest/workflows/CodeQL/badge.svg)](https://github.com/skye-z/quest/security/code-scanning)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=skye-z_quest&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=skye-z_quest)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=skye-z_quest&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=skye-z_quest)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=skye-z_quest&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=skye-z_quest)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=skye-z_quest&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=skye-z_quest)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=skye-z_quest&metric=bugs)](https://sonarcloud.io/summary/new_code?id=skye-z_quest)## Experience
[Demo](https://quest.betax.dev)
```
Username: admin
Password: admin
```> The demo system will be deleted automatically when no one visits for 15 minutes, and deployed automatically when someone visits (very fast, don't worry).
## Minimum System Requirements
Single core, 16MB RAM, 64MB storage is sufficient
This is a very low requirement for modern computers, You can run it on almost any device
## Benchmark
The following uses the query subject list api (login required) as the test interface, and each test cycles 10 times
Test PC: Mac Mini 2018 (i3 4core 3.6GHz / 20G DDR4 2666)
Test software: JMeter 5.5
| Thread | 90% | 95% | 99% | Error | QPS | CPU | Memory |
| ------ | --- | --- | --- | ----- | --- | --- | --- |
| 5000 | 2240 | 2875 | 3902 | 0.02% | 3230.4/s | 191.2% | 659MB |
| 3000 | 1255 | 1618 | 2242 | 0.09% | 4042.9/s | 172.3% | 275MB |
| 1000 | 505 | 619 | 893 | 0.00% | 3125.0/s | 145.8% | 154MB |According to the test results, although you can run it on any device, if you want to get 3000QPS you'd better use a cpu with more than 2 cores and provide 1g of RAM
## Compile and package
```shell
git clone --recurse-submodules https://github.com/skye-z/quest.git
cd quest
bash build.sh
```Default administrator account: admin / admin
## Firewall pass
If you find that you cannot access other devices after startup, please check whether the firewall is enabled. If so, please pass the port
### Firewall
```shell
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --reload
```