We needed a change
People say that the website is the face of the company, and that is indeed true. The website is often the first thing somebody sees about your company and if they see an IT company with a bad, ugly or non-functioning website, imagine what they will think about the company itself.
Our old website was kind of out of date and since Suprabit is a company working with cutting edge technologies and following modern trends, we had to update our website to better represent us - what we do and who we are.
Choosing what we want
Before doing a project like this, we had to agree on what we want to show on our website, how to package it and how to put emphasis on things we think are the most important. After the agreement had been made, our designer had to make a design prototype and web development team had to design application architecture and select the technologies to work with.
Development
Our designer used Figma, a vector graphics editor and prototyping tool, to create the design which our development team would have to follow. For content management, we selected Strapi. Strapi is one of the best headless Content Management Systems, it is open source, 100% built in JavaScript and very simple to set up. Next.js is an open-source development framework built on top of Node.js enabling React based web applications functionalities such as server-side rendering and generating static websites. Since we are already experienced in developing Next.js applications, it was an easy decision to select this technology for building our website.
Following the design in Figma, the development team built React components. Next.js was important here to render as much as possible on the server side, and then serve the client with components already populated with content from Strapi. This increases user experience as the client has much fewer requests per page and pages load much faster.
Deployment
For deployment of our web application and even through the development process, we used Docker containers for both Strapi API and for Next.js app. Docker Compose came in handy for easier management of both containers with only few command lines in the terminal. Digital Ocean is our selected cloud service provider and during the development phase, we had set up a dev environment and deployed our application iteratively as it was being built and as new features were being added. To do that without connecting to the server and running several commands lines every time, we created a GitHub Action to do all of that for us, deploying the application version on the main branch.
Once the app was ready, we needed to make it run over HTTPS protocol, instead of HTTP, and finally update DNS servers to route www.suprabit.eu to our server.
Web development team
If you like this article, we're sure you'll love these!
Smart Sensor - Case Study
Read all about how we reinvented the Smart Building Industry using our IOT, design and development expertise.
Knowledge Management: Applications for Modern Enterprises
Explore smarter ways to manage knowledge that drive efficiency, innovation, and seamless team collaboration