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

https://github.com/saeed0xf/edgy-api

A random joke API built in node.js 🗯😁
https://github.com/saeed0xf/edgy-api

api javascript nodejs vercel

Last synced: over 1 year ago
JSON representation

A random joke API built in node.js 🗯😁

Awesome Lists containing this project

README

          

# Edgy API

This API is built in node js. You can easily integrate it with your front end apps. Currently it only supports GET method.

Here is the preview

```txt
Note ⚠ : All jokes are GenZ and may offend you.
```

## Usage

```js
GET https://edgyapi.vercel.app/api/joke/random
```

## Example Code

```js
#!/usr/bin/env node

const axios = require("axios");

(async ()=>{
const res = await axios.get("https://edgyapi.vercel.app/api/joke/random");
const data = await res.data.body;
console.log(data)
})();
```

## To Do
- [x] Creating a cli version of it
- [ ] Query based searches
- [ ] Joke Submission