Blog
-
How to Test and Debug a GraphQL API in Scala
How do you test and debug Scala applications that use GraphQL? It’s very easy to start, and in this article, we show you how. We also show the interactions between the applicationcomponents, starting from receiving the GraphQL…
-
Generating Dynamic Virtual Modules with Webpack Virtual Modules Plugin
In projects built with webpack, it can be convenient to dynamically create some files in memory. In other words, a file doesn’t need to be written into the file system. Still, Webpack must treat this virtual file…
-
Best Practices for Processing HTTP Headers and Cookies in a Scala GraphQL API
In this article, you’ll become familiar with a way to interact with HTTP headers and cookies when using GraphQL, Play 2 Framework, and Sangria in a Scala application. When we’re writing a RESTful API with Play 2,…
-
Error Handling in a GraphQL API built with Scala and Sangria
If execution of a GraphQL query in your Scala application goes wrong for whatever reason, Sangria will respond to the client with the message Internal server error, which is hardly helpful. Default error handling in Scala applications powered…
-
How to Create a GraphQL API with Scala and Sangria
If you’re thinking about trying out GraphQL in your Scala application in a bid to optimize the network throughput, thenyou picked out the right time. The technology has matured a lot since 2012, and we can use…
-
How to Implement Infinite Scroll with GraphQL and React
Apollo comes with a simple method fetchMore() that you can use to implement offset pagination with infinite scroll in your React application. Offset pagination is very popular in modern applications due to its convenience: The data is presented as…
-
Best Practices of Safe Pattern Matching in a Scala Application
When you start developing your first Scala projects, you may sometimes miss out on addressing one common problem with pattern matching, and that is error handling. Basically, you may pass a type to a method used for matching,…
-
How to Create an Apollo, React, and Express Application
Creating your first React, Express, and Apollo (GraphQL) application can be a serious challenge, and while there are tools like Create Apollo App that simplify the generation of a boilerplate project with these technologies, it’s best to have a…
-
How to Use HTTPS with Play Framework
If you want to use HTTPS with your Scala application based on Play Framework 2.3 (or lower), then it’s not possible to just enable this secure protocol in the configuration file, which you can do with the more recent…
-
Tracking Email Status with Amazon SES and SNS in a Scala Application
How do you configure Amazon Simple Email Service (SES) to not only send emails, but also to receive email statuses such as sent, delivered, or read? Amazon SES can only receive the status of emails it delivered, but it can’t…
-
How to Configure Your Application for Different Environments with Play Framework
Managing application configurations for the Play Framework projects isn’t really straightforward. When you start a new project with Play, you typically have only one application.conf file with global settings. But then you need to configure the project for different…
-
Pagination with Scala and Slick: How to Properly Build Select Queries
Implementing pagination inImplementing pagination in Scala projects using Slick is a very common task, but it’s not always clear how you can use Slick efficiently. It’s obvious that requesting all records from a schema in one go is a…
Boost your business with custom software
Tell us about your business needs and we’ll suggest a solution
Thank you!
We have received your request and will get back to you within 1 business day.











