[go: up one dir, main page]

Skip to content

๐Ÿฆˆ An API for getting and posting random Blahaj images

Notifications You must be signed in to change notification settings

0xMukesh/Blahaj-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆˆ Blahaj API

An API for getting and posting random Blahaj images

๐Ÿ‘จโ€๐Ÿ’ป Demo

Check out the website: Blahaj API

๐Ÿ›ฃ๏ธ Available endpoints

  • /: The root route
  • /get: The route for getting random blahaj images
  • /post: The route for posting random blahaj images
  • /raw: The route for getting raw random blahaj images

๐Ÿค” How to post via the /post route ?

Blahaj API doesn't support posting via queries. To use the POST method you have to add body to the request. The body needs to have name and url path.

  • name : It's a short description of what's the image is about
  • url : It's the link of the image

Here's an example ๐Ÿ‘‡

๐Ÿ‘‡ Prerequisites

Before starting working on this project, please make sure you have already installed the following tools:

๐Ÿ› ๏ธ Installation Steps

  1. Fork the project

  2. Clone the project, by using the following command

    $ git clone https://github.com/Kira272921/Blahaj-API
  3. Navigate to the project directory cd Blahaj-API

  4. Install dependencies with npm install

  5. Create your own MongoDB database for testing

  6. Run npm start to start a local development environment

๐Ÿ‘จโ€๐Ÿ’ป Contributing

All kinds of contributions are always welcomed. It is recommended to either tell the maintainers that you are working on a previously made issue or make a new issue and let the maintainers now that you are working on it.

๐Ÿค” What's next for Blahaj API ?

  • I'll be adding a route where you could get the raw random images of blahaj
  • Make a cool looking homepage