Build and Deploy a Developer Portfolio With Next.js

A developer portfolio is a collection of work samples and projects showcasing your skills and experience. A strong portfolio sets you apart from other candidates when looking for jobs. But not only that: a portfolio can also be a valuable tool for networking, keeping track of your learnings, and establishing yourself as a subject matter expert.

In this tutorial, you will learn how to build a developer portfolio using Next.js and deploy directly from your GitHub repository to Kinsta’s Application Hosting platform, which provides a free domain to get your work live quickly.

Here’s a live demo of the developer portfolio you’ll be building with Next.js.

You can access this project’s GitHub repository if you’d like to take a closer look, or you could fork this Next.js portfolio starter project I created. The starter portfolio contains basic codes like the styles, a Font Awesome CDN link, images, and basic structure.


This is a “follow-along” type of tutorial. It will be easier for you to code along if you have:

Why Next.js?

Next.js is a React-based open-source JavaScript library framework that can be used for a wide range of web development projects because it simplifies building server-side rendered and static applications. It streamlines the process by leveraging the best features of React and optimizing rendering performance for improved user experience. Some of the most common use cases for Next.js include:

  • Building static websites: Next.js can build static websites that are fast, easy to deploy, and require minimal maintenance, like the developer portfolio website we’ll be building throughout this tutorial.
  • Building dynamic websites: Next.js allows you to create dynamic websites that can change content based on user interactions or server-side data fetching.
  • Building ecommerce websites: Next.js is well-suited for building ecommerce websites that require server-side rendering for improved SEO and performance.
  • Building progressive web applications (PWAs): Next.js supports the creation of PWAs, which are web applications that function like native apps and can be installed on a user’s device.

How To Set Up Your Next.js Development Environment

To set up a development environment for Next.js, first install Node.js on your computer, because you will use the npx command to run npm packages without having to install them globally on your system. Once that is taken care of, you can now create a Next.js project by running the following command:

npx create-next-app@latest my-portfolio

A prompt will appear asking you to confirm some additional dependencies. Then you can run npm run dev to make your app available at localhost:3000.

Code showing a new next.js project.

Creating a new Next.js project.

When creating a Next.js project using the npx command, it automatically scaffolds a folder structure with the following main directories:

  1. pages: This folder contains the application’s pages, which are automatically routed based on their file name. For example, pages/index.js would be the home page, while pages/about.js would be the about page.
  2. public: This folder contains static files that can be served directly, such as images, fonts, and other assets.
  3. components: This folder is optional and contains reusable UI components that can be used across the application.
  4. styles: This folder is also optional and contains global styles that can be applied across the application.

Other directories and files may also be generated depending on the specific configuration and features, but these are the core directories of a basic Next.js project.

For this tutorial, everything that we build will appear on the index page (our one-page website), and you will include components for various sections like the hero, about, projects, and others.

How To Build a Responsive Developer Portfolio Using Next.js

A portfolio typically consists of components like these:

  • Navbar component
  • Hero component
  • About component
  • Skills component
  • Projects component
  • Contact component
  • Footer component

The Navbar and Footer components are expected to appear on all pages if the portfolio has more than one page. This can be achieved in Next.js by defining a layout.

Defining Layouts in Next.js

In Next.js, a layout is a way to define a consistent structure for the components that appear on every page of a website. The layout usually includes elements such as a header, navigation menu, and footer displayed across all site pages.

Start by creating a components folder in the src (source) directory of your Next.js project. Next, create the Navbar and Footer components that will be used within the Layout component.

Here’s the Navbar component in Navbar.jsx:

// components/Navbar.jsx

import Link from "next/link";

const Navbar = () => {
  return (
    <div className="nav-container">
      <div className="logo">
        <Link href="/">
          Joe's Portfolio
      <a href="" className="cta-btn">Resume</a>

export default Navbar;

Here’s the Footer component in Footer.jsx:

// components/Footer.jsx

const Footer = () => {
  return (
      <div className="footer-container">
          © {new Date().getFullYear()} Joel's Portfolio
        <div className="social_icons">
            rel="noopener noreferrer"
            <i className="fa-brands fa-twitter"></i>
            rel="noopener noreferrer"
            <i className="fa-brands fa-github"></i>
            rel="noopener noreferrer"
            <i className="fa-brands fa-linkedin"></i>

export default Footer;

Note: For the Font Awesome icons to work, you must either install Font Awesome into your project or use its CDN. You can add the CDN link to your _document.js file like this:

// pages/_document.js

import { Html, Head, Main, NextScript } from 'next/document';

export default function Document() {
  return (
    <Html lang="en">
        <meta charSet="utf-8" />
      <Main />
      <NextScript />

Note: If you link in a different version of Font Awesome via the CDN, you will need to swap in above the appropriate integrity hash for that release.

After creating all the necessary components for your layout, you can create the Layout component itself and add this component to your pages by wrapping your page content within it.

The Layout component will accept a <code>children</code> prop, allowing you to access the content of your Next.js pages.

// components/Layout.jsx

import Navbar from './navbar';
import Footer from './footer';

const Layout = ({ children }) => {
  return (
      <Navbar />
      <Footer />

export default Layout;

At this point, you have successfully created the Layout component which holds the Navbar and Footer alongside the children props positioned properly. You can now add the Layout component to your pages by wrapping the page content in it. This will be done in the _app.js file.

// pages/_app.js

import '@/styles/globals.css';
import Layout from '../components/layout';

export default function App({ Component, pageProps }) {
  return (
      <Component {...pageProps} />

You have now succeeded in creating a layout for your developer portfolio. For this portfolio, we focus more on Next.js and how to deploy your website to Kinsta. So you can copy the styles in the styles/globals.css file into your own project. If you launch your portfolio website in dev mode, you should now see your app’s layout.

Image of a layout component

Layout component

Now it’s time to give your portfolio website the appropriate content.

Building Portfolio Components

You can now create individual components for each section of your developer’s portfolio. All these components will be imported into the index page of your Next.js project, so they can display when you launch your project with npm run dev.

The Hero Component

The Hero component is the first section below the Navbar, whose main purpose is to capture the user’s attention and give them a sense of what the website or application is about.

// components/Hero.jsx

import Image from "next/image";

const Hero = () => {
  return (
    <div className="hero-container">
      <Image src='/images/profile.jpeg' className="profile-img" width={300} height={300} alt="Joe's personal headshot" />
      <div className="hero-text">
        <h1>Hey, I'm Joe 👋</h1>
          I'm a software developer based in Lagos, Nigeria. I specialize in building (and occasionally designing)
          exceptional websites, applications, and everything in between.
        <div className="social-icons">
            rel="noopener noreferrer"
            <i className="fa-brands fa-twitter"></i>
            rel="noopener noreferrer"
            <i className="fa-brands fa-github"></i>
            rel="noopener noreferrer"
            <i className="fa-brands fa-linkedin"></i>

export default Hero;

In the code above, you will notice that the Next.js Image component is used instead of the HTML img tag to add the image because it enables automatic image optimization, resizing, and lots more.

In the About component, you will also notice that a simple paragraph to say little about the developer was added alongside some social icons from Font Awesome to add social links.

This is what the Hero component should look like:

Next.js hero component for portfolio website

Hero Component

You can add more content to the Hero component, tweak the styles in the styles/globals.css file or even recreate this section in your own way.

The About Component

The About component is meant to tell readers or people that visit your portfolio more information about you in as many paragraphs as you want. If you wish to tell more about yourself, you can create a dedicated “About Me” page and add a button on this section to read more about yourself.

// components/About.jsx

import Image from "next/image";

const About = () => {
  return (
    <div className="about-container">
      <h2>About Me</h2>
      <div className="flex-about">
        <div className="about-text">
            As a developer, I have always been passionate about creating elegant and effective solutions to
            complex problems. I have a strong foundation in software development, with a focus on web
            technologies such as HTML, CSS, and JavaScript. I enjoy working on both the front-end and
            back-end of applications, and I am always looking for ways to optimize performance, improve user
            experience, and ensure the highest level of code quality.
          <p>Throughout my career, I have worked on a wide range of projects, from simple static websites to
            complex enterprise-level applications. I am experienced in working with a variety of development
            tools and frameworks, including React, Angular, Vue.js, Node.js, and Laravel. I am always eager
            to learn and explore new technologies, and I am constantly seeking out opportunities to improve
            my skills and knowledge.</p>
        <div className="about-img">
          <Image src='/images/about.jpeg' className="profile-img" width={300} height={500}/>

export default About;

The code above contains two paragraphs of text about the developer and an image of the developer. This is what the About section is expected to look like:

The About component on a Next.js portfolio site

About component

You can always tweak the styles to add more images and lots more.

The Skills Component

The skills component is meant to show some of the developer’s most used technologies or technologies the developer has used in the past.

Skills componentSkills component

You can make this easier to maintain by creating an array in an external file and then import into the skills component, so you can loop through instead of duplicating similar code.

// components/Skills.jsx

const Skills = () => {
  return (
    <div className="skills-container">
      <div className="grid-skills">
        <div className="skill-card html">
          <i className="fa-brands fa-html5 html-icon"></i>
        <div className="skill-card css">
          <i className="fa-brands fa-css3-alt css-icon"></i>
        <div className="skill-card js">
          <i className="fa-brands fa-js-square js-icon"></i>
        <div className="skill-card react">
          <i className="fa-brands fa-react react-icon"></i>
        <div className="skill-card node">
          <i className="fa-brands fa-node-js node-icon"></i>
        <div className="skill-card python">
          <i className="fa-brands fa-python python-icon"></i>

export default Skills;

In the code above, a card is created for each skill, and each card will hold the technology icon from font-awesome and the technology name. You can also add more styles and tweak the code to make it more attractive and unique.

The Projects Component

The project component is one of the important sections of a developer’s portfolio. Projects provide tangible evidence of a developer’s skills and abilities and showcase their ability to apply their knowledge to real-world problems.

Each project will include a brief description of the project, a link to its source code (we’re using GitHub links here), and any other details you wish to add.

Next.js projects component for portfolio website

Projects component

You can create an array to hold each project’s details and then import it into your component to avoid hard-coding them.

Let’s create a data.js file to store the array of project data. You can store this file in the component folder or the pages/api folder. For this demo, I will store it in the components folder. This array will hold an object for each project, and the object will hold the project name, description, and GitHub link.

// components/data.js

export const projectData = [
    id: 1,
    title: 'Todo List App',
      'A simple Todo List App built with JavaScript. All datas are stored in localstorage. It helps users check list out their plans and tick as they do them.',
    gitHubLink: '',
    id: 2,
    title: 'Books Library App',
      'A simple Book Library App built with JavaScript. It helps readers have a good list of books they are either currently reading or have finished reading.',
    gitHubLink: '',
    id: 3,
    title: 'Quotes Generator',
      'Helps you generate quotes from about 1600 quotes written by different authors . Quotes are automatically copied to your clipboards.',
    gitHubLink: '',
    id: 4,
    title: 'Password Generator',
      'Helps you generates random passwords, you can select what you want your password to entail and also you can copy generated password to clipboard.',
    gitHubLink: '',
    id: 5,
    title: 'Twitter UI Clone',
      'Simple Twitter UI clone built with TailwindCSS and Vue Js. This covers only the homepage of Twitter UI. This is cool to get started with TailwindCSS as it helps understand basic concepts.',
    gitHubLink: '',

You can now create a project component to utilize this data by looping through easily. You can use any JavaScript iteration method, but for this tutorial, you can use the JavaScript map() array method to loop through the data array after importing it into the Projects component.

// components/Projects.jsx

import { projectData } from './data.js';

const Projects = () => {
  return (
    <div className="projects-container">
      <div className="projects-grid">
        {projectData && => (
          <div className="project-card" key={}>
            <div className="project-header">
              <i className="fa-regular fa-folder-open folder-icon"></i>
              <div className="small-icons">
                <a href={project.gitHubLink}><i className="fa-brands fa-github"></i></a>

export default Projects;

In the code above, you have successfully avoided repetition by looping through the array to output all projects into the Projects component making it easy to maintain and add more projects.

The Contact Component

One reason to create a developer’s portfolio is so potential clients can reach out to you. One way would be for people to send you an email, which is what we’ll facilitate in this Contact component.

// components/Contact.jsx

const Contact = () => {
  return (
    <div className="contact-container">
      <h2>Get In Touch</h2>
      <p>If you want us to work together, have any questions or want me to speak at your event, my inbox is always open. Whether I just want to say hi, I'll try my best to get back to you! Cheers!</p>
      <a href="" className='cta-btn'>Say Hello</a>

export default Contact;

Place your email address in the a tag so that the button will launch an email application with a message addressed to you.

Contact component for the Next.js portfolio website

Contact component

You have now successfully created all the components for your portfolio application. The next step would be to add them to your index page. Navigate to pages/index.js file — which is created by default — and replace its code with the following.

// pages/index.js

import Hero from '@/components/Hero';
import About from '@/components/About';
import Skills from '@/components/Skills';
import Projects from '@/components/Projects';
import Contact from '@/components/Contact';

import Head from 'next/head';

const Home = () => {
  return (
        <title>Joel's Portfolio</title>
        <meta name="description" content="Joel's Portfolio" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="icon" href="/favicon.ico" />
        <Hero />
        <About />
        <Skills />
        <Projects />
        <Contact />

export default Home;

When you now run your application, you will notice a full portfolio website has been created. Finally, before deploying your application, let’s install a dependency. One advantage of using Next.js is the many features it brings to the table, such as file-based routing, image optimization, and lots more.

Image optimization is handled with the Next.js Image component. Before deploying an application into production that uses the Next.js Image component, it is strongly recommended that you install sharp. You can do this by navigating to your terminal, ensuring you are in your project’s directory, and then running the following command:

npm i sharp

You can now deploy your application, and the images will work properly with the full optimization that Next.js provides.

How To Deploy Next.js Application to Kinsta

Once you’re happy with your portfolio showcasing your best development work and key information, you will likely want to share it with others, right? Let’s see how to do that using GitHub and Kinsta’s Application Hosting platform.

Push Your Code to GitHub

There are various ways to push codes to GitHub, but let’s use Git for this tutorial. Git is widely used in software development because it provides a reliable and efficient way to manage code changes, collaborate on projects, and maintain version history.

You can upload your code to GitHub using the following steps:

First, create a new repository (just like a local folder to store your code). You can do this by logging in to your GitHub account, clicking on the + button in the top right corner of the screen and selecting New repository from the dropdown menu as seen in the image below.

Creating a new GitHub repository

Create a new GitHub repository.

The next step would be to give your repository a name, add a description (optional), and select whether you want your repository to be public or private. Then click Create repository. You can now push your code to the new GitHub repository.

All that is needed to push your code with Git is the repository URL, which you can find on the repository’s main page, under the Clone or download button, or in the steps that appear after creating a repository.

Accessing your GitHub repository URL

Access your GitHub repository URL

You can prepare to push your code by opening your terminal or command prompt and navigating to the directory that contains your project. Use the following command to initialize a local Git repository:

git init

Now add your code to the local Git repository using the following command:

git add .

The above command adds all files in the current directory and its subdirectories to the new Git repository. You can now commit your changes using the following command:

git commit -m "my first commit"

Note: You can replace “my first commit” with your own brief message describing the changes you made.

Finally, push your code to GitHub using the following commands:

git remote add origin [repository URL]
git push -u origin master

Note: Ensure you replace “[repository URL]” with the URL of your own GitHub repository.

Once you have completed these steps, your code will be pushed to GitHub and accessible through your repository’s URL. You can now deploy your repository to Kinsta.

Deploy Your Portfolio to Kinsta

Deployment to Kinsta happens in just minutes. Start at the My Kinsta dashboard to log in or create your account.

Next, you will authorize Kinsta on GitHub in these quick steps:

  1. Click Applications on the left sidebar
  2. Click Add service
  3. From the dropdown menu, click Application because you want to deploy a Next.js application to Kinsta.

Create an application project in MyKinsta

Create an application project in MyKinsta

A modal will appear through which you can select the repository you wish to deploy.

If you have multiple branches in your repository, you can select the one you wish to deploy. You can also assign a name to this application. Make sure to select a data center location among the 25 available, and then Kinsta will automatically detect a start command.

Automatically detect start command

Automatically detect start command

At this point, your application will start deploying. Within a few minutes, a link will be provided to access the deployed version of your application. In this case, it is:

Deployment link on Kinsta

Deployment link on Kinsta

Note: Automatic deployment was enabled, so Kinsta automatically re-deploys your application whenever you make changes to your codebase and push it to GitHub.

Want to showcase your coding skills? A developer portfolio is the perfect way to do it! Learn how to build one using Next.js and take your career to the next level. 🚀💻CLICK TO TWEET


There are several reasons why developers should consider using Next.js for their web projects. First, it provides optimized performance out-of-the-box, with features such as pre-fetching and code splitting that help reduce page load times. Second, it provides a familiar development experience for React developers, supporting popular tools such as styled components and the latest React features.

Kinsta provides support for various deployment options for Next.js, including traditional server-based hosting and modern serverless platforms. This allows developers to choose the deployment option that best suits their needs while benefiting from the framework’s performance optimizations and other benefits.

In this tutorial, you have learned step-by-step how to build a responsive portfolio site using Next.js and then deploy it to Kinsta.

You can try Kinsta’s Application Hosting for free, and if you like it, opt for our Hobby Tier plan starting at $7/month.

Now it’s your turn to challenge yourself: add more features to your newly developed portfolio website! Here are a few ideas to get your creative juice flowing: add more pages with detailed information, integrate a blog with MDX, implement some animation. Share your projects and experience in the comments below!

Original article source at:

#next #deploy #developer #portfolio 

What is GEEK

Buddha Community

Build and Deploy a Developer Portfolio With Next.js

Hire Dedicated Node.js Developers - Hire Node.js Developers

If you look at the backend technology used by today’s most popular apps there is one thing you would find common among them and that is the use of NodeJS Framework. Yes, the NodeJS framework is that effective and successful.

If you wish to have a strong backend for efficient app performance then have NodeJS at the backend.

WebClues Infotech offers different levels of experienced and expert professionals for your app development needs. So hire a dedicated NodeJS developer from WebClues Infotech with your experience requirement and expertise.

So what are you waiting for? Get your app developed with strong performance parameters from WebClues Infotech

For inquiry click here:

Book Free Interview:

#hire dedicated node.js developers #hire node.js developers #hire top dedicated node.js developers #hire node.js developers in usa & india #hire node js development company #hire the best node.js developers & programmers

sophia tondon

sophia tondon


Top React JS Development Company | React JS Development Services

Looking to hire dedicated top Reactjs developers at affordable prices? Our 5+ years of average experienced Reactjs developers comprise proficiency in delivering the most complex and challenging web apps.

Hire ReactJS developers online on a monthly, hourly, or full-time basis who are highly skilled & efficient in implementing new technologies and turn into business-driven applications while saving your cost up to 60%.

Planning to** outsource React web Development services from India** using Reactjs? Or would you like to hire a team of Reactjs developers? Get in touch for a free quote!

#hire react js developer #react.js developer #react.js developers #hire reactjs development company #react js development india #react js developer

Aria Barnes

Aria Barnes


Why use Node.js for Web Development? Benefits and Examples of Apps

Front-end web development has been overwhelmed by JavaScript highlights for quite a long time. Google, Facebook, Wikipedia, and most of all online pages use JS for customer side activities. As of late, it additionally made a shift to cross-platform mobile development as a main technology in React Native, Nativescript, Apache Cordova, and other crossover devices. 

Throughout the most recent couple of years, Node.js moved to backend development as well. Designers need to utilize a similar tech stack for the whole web project without learning another language for server-side development. Node.js is a device that adjusts JS usefulness and syntax to the backend. 

What is Node.js? 

Node.js isn’t a language, or library, or system. It’s a runtime situation: commonly JavaScript needs a program to work, however Node.js makes appropriate settings for JS to run outside of the program. It’s based on a JavaScript V8 motor that can run in Chrome, different programs, or independently. 

The extent of V8 is to change JS program situated code into machine code — so JS turns into a broadly useful language and can be perceived by servers. This is one of the advantages of utilizing Node.js in web application development: it expands the usefulness of JavaScript, permitting designers to coordinate the language with APIs, different languages, and outside libraries.

What Are the Advantages of Node.js Web Application Development? 

Of late, organizations have been effectively changing from their backend tech stacks to Node.js. LinkedIn picked Node.js over Ruby on Rails since it took care of expanding responsibility better and decreased the quantity of servers by multiple times. PayPal and Netflix did something comparative, just they had a goal to change their design to microservices. We should investigate the motivations to pick Node.JS for web application development and when we are planning to hire node js developers. 

Amazing Tech Stack for Web Development 

The principal thing that makes Node.js a go-to environment for web development is its JavaScript legacy. It’s the most well known language right now with a great many free devices and a functioning local area. Node.js, because of its association with JS, immediately rose in ubiquity — presently it has in excess of 368 million downloads and a great many free tools in the bundle module. 

Alongside prevalence, Node.js additionally acquired the fundamental JS benefits: 

  • quick execution and information preparing; 
  • exceptionally reusable code; 
  • the code is not difficult to learn, compose, read, and keep up; 
  • tremendous asset library, a huge number of free aides, and a functioning local area. 

In addition, it’s a piece of a well known MEAN tech stack (the blend of MongoDB, Express.js, Angular, and Node.js — four tools that handle all vital parts of web application development). 

Designers Can Utilize JavaScript for the Whole Undertaking 

This is perhaps the most clear advantage of Node.js web application development. JavaScript is an unquestionable requirement for web development. Regardless of whether you construct a multi-page or single-page application, you need to know JS well. On the off chance that you are now OK with JavaScript, learning Node.js won’t be an issue. Grammar, fundamental usefulness, primary standards — every one of these things are comparable. 

In the event that you have JS designers in your group, it will be simpler for them to learn JS-based Node than a totally new dialect. What’s more, the front-end and back-end codebase will be basically the same, simple to peruse, and keep up — in light of the fact that they are both JS-based. 

A Quick Environment for Microservice Development 

There’s another motivation behind why Node.js got famous so rapidly. The environment suits well the idea of microservice development (spilling stone monument usefulness into handfuls or many more modest administrations). 

Microservices need to speak with one another rapidly — and Node.js is probably the quickest device in information handling. Among the fundamental Node.js benefits for programming development are its non-obstructing algorithms.

Node.js measures a few demands all at once without trusting that the first will be concluded. Many microservices can send messages to one another, and they will be gotten and addressed all the while. 

Versatile Web Application Development 

Node.js was worked in view of adaptability — its name really says it. The environment permits numerous hubs to run all the while and speak with one another. Here’s the reason Node.js adaptability is better than other web backend development arrangements. 

Node.js has a module that is liable for load adjusting for each running CPU center. This is one of numerous Node.js module benefits: you can run various hubs all at once, and the environment will naturally adjust the responsibility. 

Node.js permits even apportioning: you can part your application into various situations. You show various forms of the application to different clients, in light of their age, interests, area, language, and so on. This builds personalization and diminishes responsibility. Hub accomplishes this with kid measures — tasks that rapidly speak with one another and share a similar root. 

What’s more, Node’s non-hindering solicitation handling framework adds to fast, letting applications measure a great many solicitations. 

Control Stream Highlights

Numerous designers consider nonconcurrent to be one of the two impediments and benefits of Node.js web application development. In Node, at whatever point the capacity is executed, the code consequently sends a callback. As the quantity of capacities develops, so does the number of callbacks — and you end up in a circumstance known as the callback damnation. 

In any case, Node.js offers an exit plan. You can utilize systems that will plan capacities and sort through callbacks. Systems will associate comparable capacities consequently — so you can track down an essential component via search or in an envelope. At that point, there’s no compelling reason to look through callbacks.


Final Words

So, these are some of the top benefits of Nodejs in web application development. This is how Nodejs is contributing a lot to the field of web application development. 

I hope now you are totally aware of the whole process of how Nodejs is really important for your web project. If you are looking to hire a node js development company in India then I would suggest that you take a little consultancy too whenever you call. 

Good Luck!

Original Source

#node.js development company in india #node js development company #hire node js developers #hire node.js developers in india #node.js development services #node.js development

Aria Barnes

Aria Barnes


Why is Vue JS the most Preferred Choice for Responsive Web Application Development?

For more than two decades, JavaScript has facilitated businesses to develop responsive web applications for their customers. Used both client and server-side, JavaScript enables you to bring dynamics to pages through expanded functionality and real-time modifications.

Did you know!

According to a web development survey 2020, JavaScript is the most used language for the 8th year, with 67.7% of people choosing it. With this came up several javascript frameworks for frontend, backend development, or even testing.

And one such framework is Vue.Js. It is used to build simple projects and can also be advanced to create sophisticated apps using state-of-the-art tools. Beyond that, some other solid reasons give Vuejs a thumbs up for responsive web application development.

Want to know them? Then follow this blog until the end. Through this article, I will describe all the reasons and benefits of Vue js development. So, stay tuned.

Vue.Js - A Brief Introduction

Released in the year 2014 for public use, Vue.Js is an open-source JavaScript framework used to create UIs and single-page applications. It has over 77.4 million likes on Github for creating intuitive web interfaces.

The recent version is Vue.js 2.6, and is the second most preferred framework according to Stack Overflow Developer Survey 2019.

Every Vue.js development company is widely using the framework across the world for responsive web application development. It is centered around the view layer, provides a lot of functionality for the view layer, and builds single-page web applications.

Some most astonishing stats about Vue.Js:

• Vue was ranked #2 in the Front End JavaScript Framework rankings in the State of JS 2019 survey by developers.

• Approximately 427k to 693k sites are built with Vue js, according to Wappalyzer and BuiltWith statistics of June 2020.

• According to the State of JS 2019 survey, 40.5% of JavaScript developers are currently using Vue, while 34.5% have shown keen interest in using it in the future.

• In Stack Overflow's Developer Survey 2020, Vue was ranked the 3rd most popular front-end JavaScript framework.

Why is Vue.Js so popular?

• High-speed run-time performance
• Vue.Js uses a virtual DOM.
• The main focus is on the core library, while the collaborating libraries handle other features such as global state management and routing.
• Vue.JS provides responsive visual components.

Top 7 Reasons to Choose Vue JS for Web Application Development

Vue js development has certain benefits, which will encourage you to use it in your projects. For example, Vue.js is similar to Angular and React in many aspects, and it continues to enjoy increasing popularity compared to other frameworks.

The framework is only 20 kilobytes in size, making it easy for you to download files instantly. Vue.js easily beats other frameworks when it comes to loading times and usage.

Take a look at the compelling advantages of using Vue.Js for web app development.

#1 Simple Integration

Vue.Js is popular because it allows you to integrate Vue.js into other frameworks such as React, enabling you to customize the project as per your needs and requirements.

It helps you build apps with Vue.js from scratch and introduce Vue.js elements into their existing apps. Due to its ease of integration, Vue.js is becoming a popular choice for web development as it can be used with various existing web applications.

You can feel free to include Vue.js CDN and start using it. Most third-party Vue components and libraries are additionally accessible and supported with the Vue.js CDN.

You don't need to set up node and npm to start using Vue.js. This implies that it helps develop new web applications, just like modifying previous applications.

The diversity of components allows you to create different types of web applications and replace existing frameworks. In addition, you can also choose to hire Vue js developers to use the technology to experiment with many other JavaScript applications.

#2 Easy to Understand

One of the main reasons for the growing popularity of Vue.Js is that the framework is straightforward to understand for individuals. This means that you can easily add Vue.Js to your web projects.

Also, Vue.Js has a well-defined architecture for storing your data with life-cycle and custom methods. Vue.Js also provides additional features such as watchers, directives, and computed properties, making it extremely easy to build modern apps and web applications with ease.

Another significant advantage of using the Vue.Js framework is that it makes it easy to build small and large-scale web applications in the shortest amount of time.

#3 Well-defined Ecosystem

The VueJS ecosystem is vibrant and well-defined, allowing Vue.Js development company to switch users to VueJS over other frameworks for web app development.

Without spending hours, you can easily find solutions to your problems. Furthermore, VueJs lets you choose only the building blocks you need.

Although the main focus of Vue is the view layer, with the help of Vue Router, Vue Test Utils, Vuex, and Vue CLI, you can find solutions and recommendations for frequently occurring problems.

The problems fall into these categories, and hence it becomes easy for programmers to get started with coding right away and not waste time figuring out how to use these tools.

The Vue ecosystem is easy to customize and scales between a library and a framework. Compared to other frameworks, its development speed is excellent, and it can also integrate different projects. This is the reason why most website development companies also prefer the Vue.Js ecosystem over others.

#4 Flexibility

Another benefit of going with Vue.Js for web app development needs is flexibility. Vue.Js provides an excellent level of flexibility. And makes it easier for web app development companies to write their templates in HTML, JavaScript, or pure JavaScript using virtual nodes.

Another significant benefit of using Vue.Js is that it makes it easier for developers to work with tools like templating engines, CSS preprocessors, and type checking tools like TypeScript.

#5 Two-Way Communication

Vue.Js is an excellent option for you because it encourages two-way communication. This has become possible with the MVVM architecture to handle HTML blocks. In this way, Vue.Js is very similar to Angular.Js, making it easier to handle HTML blocks as well.

With Vue.Js, two-way data binding is straightforward. This means that any changes made by the developer to the UI are passed to the data, and the changes made to the data are reflected in the UI.

This is also one reason why Vue.Js is also known as reactive because it can react to changes made to the data. This sets it apart from other libraries such as React.Js, which are designed to support only one-way communication.

#6 Detailed Documentation

One essential thing is well-defined documentation that helps you understand the required mechanism and build your application with ease. It shows all the options offered by the framework and related best practice examples.

Vue has excellent docs, and its API references are one of the best in the industry. They are well written, clear, and accessible in dealing with everything you need to know to build a Vue application.

Besides, the documentation at Vue.js is constantly improved and updated. It also includes a simple introductory guide and an excellent overview of the API. Perhaps, this is one of the most detailed documentation available for this type of language.

#7 Large Community Support

Support for the platform is impressive. In 2018, support continued to impress as every question was answered diligently. Over 6,200 problems were solved with an average resolution time of just six hours.

To support the community, there are frequent release cycles of updated information. Furthermore, the community continues to grow and develop with backend support from developers.

Wrapping Up

VueJS is an incredible choice for responsive web app development. Since it is lightweight and user-friendly, it builds a fast and integrated web application. The capabilities and potential of VueJS for web app development are extensive.

While Vuejs is simple to get started with, using it to build scalable web apps requires professionalism. Hence, you can approach a top Vue js development company in India to develop high-performing web apps.

Equipped with all the above features, it doesn't matter whether you want to build a small concept app or a full-fledged web app; Vue.Js is the most performant you can rely on.

Original source


#vue js development company #vue js development company in india #vue js development company india #vue js development services #vue js development #vue js development companies

NBB: Ad-hoc CLJS Scripting on Node.js


Not babashka. Node.js babashka!?

Ad-hoc CLJS scripting on Node.js.


Experimental. Please report issues here.

Goals and features

Nbb's main goal is to make it easy to get started with ad hoc CLJS scripting on Node.js.

Additional goals and features are:

  • Fast startup without relying on a custom version of Node.js.
  • Small artifact (current size is around 1.2MB).
  • First class macros.
  • Support building small TUI apps using Reagent.
  • Complement babashka with libraries from the Node.js ecosystem.


Nbb requires Node.js v12 or newer.

How does this tool work?

CLJS code is evaluated through SCI, the same interpreter that powers babashka. Because SCI works with advanced compilation, the bundle size, especially when combined with other dependencies, is smaller than what you get with self-hosted CLJS. That makes startup faster. The trade-off is that execution is less performant and that only a subset of CLJS is available (e.g. no deftype, yet).


Install nbb from NPM:

$ npm install nbb -g

Omit -g for a local install.

Try out an expression:

$ nbb -e '(+ 1 2 3)'

And then install some other NPM libraries to use in the script. E.g.:

$ npm install csv-parse shelljs zx

Create a script which uses the NPM libraries:

(ns script
  (:require ["csv-parse/lib/sync$default" :as csv-parse]
            ["fs" :as fs]
            ["path" :as path]
            ["shelljs$default" :as sh]
            ["term-size$default" :as term-size]
            ["zx$default" :as zx]
            ["zx$fs" :as zxfs]
            [nbb.core :refer [*file*]]))

(prn (path/resolve "."))

(prn (term-size))

(println (count (str (fs/readFileSync *file*))))

(prn (sh/ls "."))

(prn (csv-parse "foo,bar"))

(prn (zxfs/existsSync *file*))

(zx/$ #js ["ls"])

Call the script:

$ nbb script.cljs
#js {:columns 216, :rows 47}
#js ["node_modules" "package-lock.json" "package.json" "script.cljs"]
#js [#js ["foo" "bar"]]
$ ls


Nbb has first class support for macros: you can define them right inside your .cljs file, like you are used to from JVM Clojure. Consider the plet macro to make working with promises more palatable:

(defmacro plet
  [bindings & body]
  (let [binding-pairs (reverse (partition 2 bindings))
        body (cons 'do body)]
    (reduce (fn [body [sym expr]]
              (let [expr (list '.resolve 'js/Promise expr)]
                (list '.then expr (list 'clojure.core/fn (vector sym)

Using this macro we can look async code more like sync code. Consider this puppeteer example:

(-> (.launch puppeteer)
      (.then (fn [browser]
               (-> (.newPage browser)
                   (.then (fn [page]
                            (-> (.goto page "")
                                (.then #(.screenshot page #js{:path "screenshot.png"}))
                                (.catch #(js/console.log %))
                                (.then #(.close browser)))))))))

Using plet this becomes:

(plet [browser (.launch puppeteer)
       page (.newPage browser)
       _ (.goto page "")
       _ (-> (.screenshot page #js{:path "screenshot.png"})
             (.catch #(js/console.log %)))]
      (.close browser))

See the puppeteer example for the full code.

Since v0.0.36, nbb includes promesa which is a library to deal with promises. The above plet macro is similar to promesa.core/let.

Startup time

$ time nbb -e '(+ 1 2 3)'
nbb -e '(+ 1 2 3)'   0.17s  user 0.02s system 109% cpu 0.168 total

The baseline startup time for a script is about 170ms seconds on my laptop. When invoked via npx this adds another 300ms or so, so for faster startup, either use a globally installed nbb or use $(npm bin)/nbb script.cljs to bypass npx.


NPM dependencies

Nbb does not depend on any NPM dependencies. All NPM libraries loaded by a script are resolved relative to that script. When using the Reagent module, React is resolved in the same way as any other NPM library.


To load .cljs files from local paths or dependencies, you can use the --classpath argument. The current dir is added to the classpath automatically. So if there is a file foo/bar.cljs relative to your current dir, then you can load it via (:require [ :as fb]). Note that nbb uses the same naming conventions for namespaces and directories as other Clojure tools: foo-bar in the namespace name becomes foo_bar in the directory name.

To load dependencies from the Clojure ecosystem, you can use the Clojure CLI or babashka to download them and produce a classpath:

$ classpath="$(clojure -A:nbb -Spath -Sdeps '{:aliases {:nbb {:replace-deps {com.github.seancorfield/honeysql {:git/tag "v2.0.0-rc5" :git/sha "01c3a55"}}}}}')"

and then feed it to the --classpath argument:

$ nbb --classpath "$classpath" -e "(require '[honey.sql :as sql]) (sql/format {:select :foo :from :bar :where [:= :baz 2]})"
["SELECT foo FROM bar WHERE baz = ?" 2]

Currently nbb only reads from directories, not jar files, so you are encouraged to use git libs. Support for .jar files will be added later.

Current file

The name of the file that is currently being executed is available via nbb.core/*file* or on the metadata of vars:

(ns foo
  (:require [nbb.core :refer [*file*]]))

(prn *file*) ;; "/private/tmp/foo.cljs"

(defn f [])
(prn (:file (meta #'f))) ;; "/private/tmp/foo.cljs"


Nbb includes reagent.core which will be lazily loaded when required. You can use this together with ink to create a TUI application:

$ npm install ink


(ns ink-demo
  (:require ["ink" :refer [render Text]]
            [reagent.core :as r]))

(defonce state (r/atom 0))

(doseq [n (range 1 11)]
  (js/setTimeout #(swap! state inc) (* n 500)))

(defn hello []
  [:> Text {:color "green"} "Hello, world! " @state])

(render (r/as-element [hello]))


Working with callbacks and promises can become tedious. Since nbb v0.0.36 the promesa.core namespace is included with the let and do! macros. An example:

(ns prom
  (:require [promesa.core :as p]))

(defn sleep [ms]
   (fn [resolve _]
     (js/setTimeout resolve ms))))

(defn do-stuff
   (println "Doing stuff which takes a while")
   (sleep 1000)

(p/let [a (do-stuff)
        b (inc a)
        c (do-stuff)
        d (+ b c)]
  (prn d))
$ nbb prom.cljs
Doing stuff which takes a while
Doing stuff which takes a while

Also see API docs.


Since nbb v0.0.75 applied-science/js-interop is available:

(ns example
  (:require [applied-science.js-interop :as j]))

(def o (j/lit {:a 1 :b 2 :c {:d 1}}))

(prn (j/select-keys o [:a :b])) ;; #js {:a 1, :b 2}
(prn (j/get-in o [:c :d])) ;; 1

Most of this library is supported in nbb, except the following:

  • destructuring using :syms
  • property access using .-x notation. In nbb, you must use keywords.

See the example of what is currently supported.


See the examples directory for small examples.

Also check out these projects built with nbb:


See API documentation.

Migrating to shadow-cljs

See this gist on how to convert an nbb script or project to shadow-cljs.



  • babashka >= 0.4.0
  • Clojure CLI >=
  • Node.js 16.5.0 (lower version may work, but this is the one I used to build)

To build:

  • Clone and cd into this repo
  • bb release

Run bb tasks for more project-related tasks.

Download Details:
Author: borkdude
Download Link: Download The Source Code
Official Website: 
License: EPL-1.0

#node #javascript