Assignment 02

RESTful Project

Assignment Specification

Develop a small project using a RESTful API of your own choice. You may combine two or more APIs if you need to. The only minimum requirement is to demonstrate usage at least 5 different API requests

Projects for inspiration

Submission Details

By using Google Vision API I tried to create a simple web app which can be used to analyze ‘labels', 'text', 'faces’ on a given image and with the help of Google Translate API I translate the detected text on the image from English to Spanish. To be able to upload image I am using Multer and Morgan dependencies. Notes for myself:

  • Morgan is basically a logger, on any requests being made,it generates logs automatically.
  • Multer is a node.js middleware for handling multipart/form-data, which is primarily used for uploading files.

Screens

Reference Screens Reference Screens Reference Screens

Running

  • $> npm install
  • $> bower install
  • $> npm start
  • you should put your apikey to inside of .env file (no need to set in the code)
  • you should put your keyfile.json file
  • localhost:8080/upload page is for uploading a photo

My Resources

Resources