https://github.com/nilicule/no-as-a-service
No as a Service
https://github.com/nilicule/no-as-a-service
Last synced: 10 months ago
JSON representation
No as a Service
- Host: GitHub
- URL: https://github.com/nilicule/no-as-a-service
- Owner: nilicule
- Created: 2025-05-01T11:25:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-01T11:26:24.000Z (about 1 year ago)
- Last Synced: 2025-05-01T12:31:16.304Z (about 1 year ago)
- Language: Python
- Homepage: https://n2g.dev/no
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# No-As-A-Service
A simple API that returns random creative rejection reasons.
## API Endpoint
- `GET /no`: Returns a random rejection reason in JSON format.
Example response:
```json
{
"reason": "This feels like something Future Me would yell at Present Me for agreeing to."
}
```
## Running with Podman
### Build the container
```bash
podman build -t no-as-a-service .
```
### Run the container
```bash
podman run -p 5001:5001 no-as-a-service
```
The API will be available at http://localhost:5001/no
## Testing the API
You can test the API using curl:
```bash
curl http://localhost:5001/no
```
Or open the URL in your browser: http://localhost:5001/no