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 🗯😁
- Host: GitHub
- URL: https://github.com/saeed0xf/edgy-api
- Owner: saeed0xf
- Created: 2022-02-28T16:36:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-24T13:42:58.000Z (over 3 years ago)
- Last Synced: 2025-02-11T16:39:52.342Z (over 1 year ago)
- Topics: api, javascript, nodejs, vercel
- Language: CSS
- Homepage: https://edgyapi.vercel.app
- Size: 276 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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