API

Creating GraphQl API with Sangria

Reading Time: 2 minutes Sangria is a library that processes the graphQL queries coming to the server and pass on the object to business layer of the application, which mostly further queries database to get information which sangria passes on as response to the query. GraphQL is a query language for the servers with which only one route can be used to give response to any query, which are Continue Reading

Interacting with Services & API: Angular 2

Reading Time: 2 minutes In this post we are going to create an Angular 2 application from scratch, the target of this post is to explain the process to create a service and use an API to get the data from that, where we will also see, how to handle the response of the API, preview the response on the view and handle the exceptions if any found in Continue Reading

Obtaining Geolocation in Play using IP Address

Reading Time: < 1 minute In this blog , I will explain how to obtain Geolocation in Play Scala application from IP address of user . You can easily fetch user’s current location or near by location by his IP address . 1) You will require API key to be able to use this feature. To get API key , just go to IPInfoDB . 2) Get user’s IP address var Continue Reading