From the course: Learning Next.js

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Creating the Blog project and exploring the app anatomy

Creating the Blog project and exploring the app anatomy

From the course: Learning Next.js

Creating the Blog project and exploring the app anatomy

Now it's time to discover the blog Project, which will be the capstone project for this course. So I'm going to invite you to here, open this directory right here. And you're going to find the same app anatomy for this one for this project, which has been also created with the toolchain Create Next app. So inside the app folder you're going to find another directory lib that contains functions used in your application, such as reusable utility functions, data fetching functions, and also definition of data types. Because we're using TypeScript, we need to define how every post object is formatted. So every post object has an ID, a title, a content, and a date, and every property of a post object is of type String. We also use some placeholder data until we can connect to a data source and fetch data from an actual database. So that's going to be in the meantime. So in a more advanced part of the course, we're going to connect our blog Project to a database. Then we have a UI…

Contents