Blog
-
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 reasons, 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 to address 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 generation of a boilerplate project with these technologies, it’s best to have a clear…
-
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…
-
PersistGraphQL Webpack Plugin with Hot Code Reload released
The SysGears Team is pleased to announce the availability of PersistGraphQL Webpack Plugin with Hot Code Reload for backend & frontend. PersistGraphQL Webpack Plugin is a tool to gather GraphQL queries from source code of GraphQL projects and inject them…
-
Storing polymorphic objects with ReactiveMongo and Play
ReactiveMongo is an extremely convenient toolkit for working with MongoDB in Scala applications. But, at the same time, its documentation does not cover some of the typical scenarios, so sometimes it takes time to find the right solution.…
-
Manage session creation timestamp in Lift
Lift framework lacks the ability to fetch a session creation timestamp by default. This post will provide a short example of how one can do this while working with Lift. Note: This example uses org.joda.time.DateTime class for working with date.…
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.











