Code Monkey home page Code Monkey logo

quotes-app-backend's Introduction

Ktor Quotes-App-Backend

simple quotes api generator made with ktor and mongodb ktor libary kmongo ๐Ÿš€

check out it's mobile app here ๐Ÿ‘‰๐Ÿฟ https://github.com/AbGhost-cyber/react-native-quotes-app

#HOW TO USE:

  • install intellij, clone this repo and build project.
  • currently this server runs on localhost.
  • you can also use postman to test each endpoint before integrating on client side.

END POINTS METHOD FUNCTION
/quotes/ GET this endpoint returns all quotes available in the database, to get all favorited quotes specify "fav" as the query paremeter and set to true, for example: "https://yourdomain/quotes?fav=true".
/quotes/{id}/ GET this endpoint returns a specific quote.
/quote/ POST this endpoint saves a quote to the database.
/quote/fav/{id}/ POST this endpoint saves a quote to the database.
/quotes/ DELETE this endpoint deletes a specific quote from the database.

quotes-app-backend's People

Contributors

abghost-cyber 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.