the team back in October

Just like the title says this article is going to be about my internship at Rootcode Labs. So let’s start from the beginning. After doing GCE A/L in 2019 I was looking for an opportunity to kickstart my journey to become a software engineer. But there was a problem. I was just a school leaver nothing more than that.

A couple of months after that I started contributing to SEF while learning JavaScript. Once I got comfortable with JavaScript I started learning React to contribute to the SEF AcadeMix project. That’s when I started applying for internships but no one…


First of all, Thank you Sustainable Education Foundation for this great opportunity. I am very honoured to be selected as a mentee in ScholarX 2021. Let’s start from the beginning.

What is ScholarX?

ScholarX is a 6-month program for Sri-Lankan undergraduates who would like to get free premium mentoring during their study period. ScholarX 2021 programme kicked off with over 75 mentors and over 250 mentees from various universities around Sri Lanka and abroad.

I received an email on 26th April 2021 saying that they have been able to match me with a mentor. I got so excited that moment and rushed to…


For the past eight months we’ve been building a mentoring platform as the SEF dev team and it’s called ScholarX. The tech stack for the project was React with typescript for the frontend and spring boot for the backend. I’ve been working on the frontend for the most time. After months of work we are fully ready to launch it. In the last dev team standup we discussed to improve the performance and the code base of the project. …


image credit: geeksforfgeeks.org

As developers, we all know we should write tests for our code whether you are working on the frontend or backend. In this article let’s take a look at writing unit tests for your Js code. Before getting started on writing unit tests for your code let's take a look at what are the types of tests we have and the importance of each type.

Different types of testing

Before we jump into unit testing specifics, let’s do a quick run-through of the different types of tests. It might be confusing because sometimes the line between them is quite thin.

Unit tests

Just as the word…


Having established itself as an early leader in the market for cloud infrastructure, Amazon Web Services (AWS), the online retailer’s profitable cloud platform, is still ahead of the pack. As I started learning about cloud computing I realised that it’s way easier than I thought specially when it comes to creating a virtual machine. Let’s take a look at how to create a virtual machine using Amazon EC2.

What is Amazon EC2?

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2’s…


I started learning Express recently and I got amazed by realizing that how easy to get started with Express. If you are working with JavaScript mostly this will be super easy to learn. Especially if you are a frontend developer and wanted to get hands-on backend technologies this stack is perfect. So let’s dive into the article.

What is Express Js or Express?

Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. …


EmailJS: Send emails directly from your client-side JavaScript code
EmailJS: Send emails directly from your client-side JavaScript code

Are you looking for a way to get the email that your contact form sends without a server? I had the same problem when I was creating the website to showcase Aphelia. Haven’t heard about Aphelia yet? Let me introduce Aphelia in brief before starting the article. Aphelia is an AI-based resume parser API that can seamlessly integrate with your recruitment application. This is the future of resume parsers.

What is EmailJS?

EmailJS is a service that allows us to send emails directly from your client-side JavaScript code. …


How to deploy a web app using Heroku?
How to deploy a web app using Heroku?

Today we are going to take a look at deploying a web app using Heroku. Maybe you can use Heroku on your next app deployment. As always let me tell you why I had to use Heroku.

As a volunteer at the Sustainable Education Foundation — SEF, we have this Github leaderboard that shows our contributors based on their contribution. This java based application is currently deployed on our DigitalOcean droplet. After a discussion, we decided to use Heroku since it’s free and matches our requirements. That’s how I got this task.

What is Heroku?

Heroku is a cloud platform as a service…


Have you ever wanted to expose your local webserver to the internet? Probably the answer is yes. I faced the same problem when I wanted to expose my webapp. Today I’m going to talk about one of the solutions that I found. First of all, let me explain my problem briefly.

As a volunteer at the Sustainable Education Foundation — SEF. I was working on a Github leaderboard which is a leaderboard for the contributors of SEF. As you can see I need to use Github webhook to get the data. The problem was when I’m working on the project…


As a front-end developer have you ever wondered how to deploy a web project and get things like clean URLs, graceful trailing slash handling, fallback 404 pages, or serve a catch-all file for apps using PushState?

Surge does all that while handling details such as setting long–live cache headers and setting proper HTTP status codes across a content delivery network.

Let me demonstrate how to get started with surge using an example,

Get Started

To get started with surge is easy. Just install using npm and then run surge within any directory you wish to publish onto the web.

  1. install the latest…

Anjula Shanaka

Physical Science Undergraduate at University of Sri Jayawardenepura

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store