https://github.com/speed2exe/zap-myzql-example
https://github.com/speed2exe/zap-myzql-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/speed2exe/zap-myzql-example
- Owner: speed2exe
- License: mit
- Created: 2025-01-21T03:31:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-21T04:32:24.000Z (over 1 year ago)
- Last Synced: 2025-10-28T07:36:57.762Z (8 months ago)
- Language: Zig
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zap-myzql-example
## Run MySQL or MariaDB in Docker
```bash
# MySQL
docker run --name some-mysql --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql
# MariaDB
docker run --name some-mariadb --env MARIADB_ROOT_PASSWORD=password -p 3306:3306 -d mariadb
```
## Run Server
```bash
zig build run
```
## Test with curl
```bash
curl locahost:3000
```