We revamped our site to better serve our users!
Frontend Hire
Dynamic Pricing Page

Overview

In this course, you will learn how to build a dynamic pricing page.

We recommend reading the "Design A Dynamic Pricing Page" system design first.

We will cover the following topics:

  • Rendering Strategies with Next.js Pages Router
  • Rendering Strategies with Next.js App Router

Though we are building a pricing page, the concept of rendering strategies is more important to understand here and the skills are transferrable to many other projects.

Stuff you will work with this course:

  • Next.js
  • TypeScript
  • SWR

Setting Up a Next.js Project

To keep the course focused on the main topic, we will use an already set up Next.js project. You can clone the project from the GitHub repository and follow along with the course.

This initial code was generated through the Next.js CLI. We just cleaned up the project structure and added Prettier, Husky, Lint-Staged, and the Tailwind CSS class sorter plugin. Clone the repository and install the dependencies:

Note: Just make sure that you start on the branch 0-init, though it is the default branch.

git clone https://github.com/Frontend-Hire/dynamic-pricing-page-next.git
cd dynamic-pricing-page-next
npm install
npm run dev

If you would like to also set up the project from scratch, you can follow the steps in the official Next.js documentation. Then follow this chapter from our other course, Setting up a React Project to set up the other tools.

Feel free to ping us on Discord if you have any questions.

This starter comes with the App Router setup but we would also be using the Pages Router. In the next section, we will set up the Pages Router.

On this page