GithubHelp home page GithubHelp logo

Drinka Ľubomír's Projects

-request-header-parser-microservice icon -request-header-parser-microservice

Request Header Parser Microservice User Story: 1. I can get the IP address, preferred languages (from header Accept-Language) and system infos (from header User-Agent) for my device. Example Usage: [base url]/api/whoami Example Output: {"ipaddress":"159.20.14.100","language":"en-US,en;q=0.5", "software":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"}

-stock-price-checker icon -stock-price-checker

ISQA_5 - Nasdaq Stock Price Checker User Stories Set the content security policies to only allow loading of scripts and css from your server. I can GET /api/stock-prices with form data containing a Nasdaq stock ticker and recieve back an object stockData. In stockData, I can see the stock(string, the ticker), price(decimal in string format), and likes(int). I can also pass along field like as true(boolean) to have my like added to the stock(s). Only 1 like per ip should be accepted. If I pass along 2 stocks, the return object will be an array with both stock's info but instead of likes, it will display rel_likes(the difference between the likes on both) on both. A good way to receive current price is the following external API(replacing 'GOOG' with your stock): https://finance.google.com/finance/info?q=NASDAQ%3aGOOG All 5 functional tests are complete and passing. Example usage: /api/stock-prices?stock=goog /api/stock-prices?stock=goog&like=true /api/stock-prices?stock=goog&stock=msft /api/stock-prices?stock=goog&stock=msft&like=true Example return: {"stockData":{"stock":"GOOG","price":"786.90","likes":1}} {"stockData":[{"stock":"MSFT","price":"62.30","rel_likes":-1},{"stock":"GOOG","price":"786.90","rel_likes":1}]}

api-project-file-metadata-microservice icon api-project-file-metadata-microservice

API Project: File Metadata Microservice User Stories: I can submit a form object that includes a file upload. The from file input field has the "name" attribute set to "upfile". We rely on this in testing. When I submit something, I will receive the file name, and size in bytes within the JSON response. Usage: Please Upload a File ... App glitch by freeCodeCamp/vanderdrilu

exercise-tracker icon exercise-tracker

Create a New User POST /api/exercise/new-user Add exercises POST /api/exercise/add GET users's exercise log: GET /api/exercise/log?{userId}[&from][&to][&limit] GET users's exercise log example: /api/exercise/log?userId=5b58365863c3821040f73d51&from=2014-01-08&to=2018-07-24&limit=5 { } = required, [ ] = optional from, to = dates (yyyy-mm-dd); limit = number

leaflet.awesome-markers icon leaflet.awesome-markers

Colorful, iconic & retina-proof markers for Leaflet, based on the Font Awesome/Twitter Bootstrap icons.

monitoring icon monitoring

Com-port read and send data. Data are stored to text file or excel file.

personal-library icon personal-library

ISQA Project - Personal Library User stories: Nothing from my website will be cached in my client as a security measure. I will see that the site is powered by 'PHP 4.2.0' even though it isn't as a security measure. I can post a title to /api/books to add a book and returned will be the object with the title and a unique _id. I can get /api/books to retrieve an aray of all books containing title, _id, & commentcount. I can get /api/books/{_id} to retrieve a single object of a book containing title, _id, & an array of comments (empty array if no comments present). I can post a comment to /api/books/{_id} to add a comment to a book and returned will be the books object similar to get /api/books/{_id}. I can delete /api/books/{_id} to delete a book from the collection. Returned will be 'delete successful' if successful. If I try to request a book that doesn't exist I will get a 'no book exists' message. I can send a delete request to /api/books to delete all books in the database. Returned will be 'complete delete successful' if successful. All 6 functional tests required are complete and passing.

rydereng icon rydereng

English version Maintenance evidence and planning.

url-shortener-microservice icon url-shortener-microservice

# API Project: URL Shortener Microservice for freeCodeCamp ### User Stories 1. I can POST a URL to `[project_url]/api/shorturl/new` and I will receive a shortened URL in the JSON response. Example : `{"original_url":"www.google.com","short_url":1}` 2. If I pass an invalid URL that doesn't follow the valid `http(s)://www.example.com(/more/routes)` format, the JSON response will contain an error like `{"error":"invalid URL"}`. *HINT*: to be sure that the submitted url points to a valid site you can use the function `dns.lookup(host, cb)` from the `dns` core module. 3. When I visit the shortened URL, it will redirect me to my original link. #### Creation Example: POST [project_url]/api/shorturl/new - body (urlencoded) : url=https://www.google.com #### Usage: [this_project_url]/api/shorturl/3 #### Will redirect to: http://forum.freecodecamp.com

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.