Giter Site home page Giter Site logo

0xmukesh / blahaj-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 80 KB

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

Home Page: https://blahaj-api.herokuapp.com/

Shell 1.30% JavaScript 74.65% HTML 19.29% CSS 4.76%
api blahaj nodejs express mongodb

blahaj-api's Introduction

๐Ÿฆˆ 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

blahaj-api's People

Contributors

0xmukesh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.