Pie Logo
Exercise: Layouts and Pages
by Tomas Trescak

ContentDetailed description of the section content.

Installation

In this section and the following sections, we will be using the same project as in your tutorials. The difference is that it does not contain the same tests and is not as complete. Let's set it up!

1.Fork the following repository to your Github profile:

https://github.com/WesternSydneyUniversity/comp3036-lecture-nextjs

2. Clone the repository 

git clone <your-repository-url>

3. Open in Visual Studio Code
4. Install Packages

pnpm i

Instructions

  1. Complete all the user requirements below
  2. Cover each user requirement by end-to-end test (tag each test by “@pages”)
  3. If necessary, cover utility code and component code with unit tests
  4. Commit and push the code
  5. Make sure all tests pass
  6. Commit and push your code to your repository

User Requirements

  1. As a visitor, I want to be able to see the list of categories of active posts on a separate page
  2. As a visitor, when I click on a category, it needs to take me to a page where I can see only posts of a given category
    1. The post list shows the title, the short description, the category and the date posted
  3. As a visitor, when I click on a post title in the list, it takes me to the post details page
  4. As a visitor, I can see the title and content of the post on the detail page
Full Stack Development
Introduction
Generative AI
🍰 Player
💼 Editor
Setup
React Fundamentals
Next.js
Why Next.js?
Next.js Introduction
Monorepos
Turborepo
Assignment 2.1: Blog - Client
Layouts and Pages
Quiz: Layout and Pages
Exercise: Layouts and Pages
Fonts and Images
Styling
Server vs Client Components
Static and Dynamic Rendering
Leaderboards
Advanced React
Databases
React Hooks
Authentication and Authorisation
APIs
CI/CD and DevOps
Testing React
Advanced Topics
    Pie Logo
    Exercise: Layouts and Pages
    by Tomas Trescak

    ContentDetailed description of the section content.

    Installation

    In this section and the following sections, we will be using the same project as in your tutorials. The difference is that it does not contain the same tests and is not as complete. Let's set it up!

    1.Fork the following repository to your Github profile:

    https://github.com/WesternSydneyUniversity/comp3036-lecture-nextjs

    2. Clone the repository 

    git clone <your-repository-url>

    3. Open in Visual Studio Code
    4. Install Packages

    pnpm i

    Instructions

    1. Complete all the user requirements below
    2. Cover each user requirement by end-to-end test (tag each test by “@pages”)
    3. If necessary, cover utility code and component code with unit tests
    4. Commit and push the code
    5. Make sure all tests pass
    6. Commit and push your code to your repository

    User Requirements

    1. As a visitor, I want to be able to see the list of categories of active posts on a separate page
    2. As a visitor, when I click on a category, it needs to take me to a page where I can see only posts of a given category
      1. The post list shows the title, the short description, the category and the date posted
    3. As a visitor, when I click on a post title in the list, it takes me to the post details page
    4. As a visitor, I can see the title and content of the post on the detail page
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Quiz: Layout and Pages
    Exercise: Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics
    Pie Logo
    Exercise: Layouts and Pages
    by Tomas Trescak
    Pie Logo
    Exercise: Layouts and Pages
    by Tomas Trescak
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Quiz: Layout and Pages
    Exercise: Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Quiz: Layout and Pages
    Exercise: Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics