You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 23:17:10 +00:00
34 lines
641 B
Markdown
34 lines
641 B
Markdown
# PROMO v2: Promo Code Backend
|
|
|
|
My solution for the second stage of the PROD olympiad 2025. Passes all tests.
|
|
|
|
Task: [github.com/Central-University-IT/FAQ-2025/tree/main/backend](https://github.com/Central-University-IT/FAQ-2025/tree/main/backend).
|
|
|
|
## Running tests
|
|
|
|
### Prerequisites
|
|
|
|
Ensure you have the following installed on your system:
|
|
|
|
- [Python](https://www.python.org/) (>=3.10,<3.12)
|
|
- [uv](https://docs.astral.sh/uv/)
|
|
- [Docker](https://www.docker.com/) (for containerized setup)
|
|
|
|
### Go to tests directory
|
|
|
|
```bash
|
|
cd tests
|
|
```
|
|
|
|
### Install dependencies
|
|
|
|
```bash
|
|
uv sync --no-dev
|
|
```
|
|
|
|
### Run tests
|
|
|
|
```bash
|
|
sh run-tests.sh
|
|
```
|