An open API service indexing awesome lists of open source software.

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

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