1
00:00:03,000 --> 00:00:05,012
Before we continue developing

2
00:00:05,012 --> 00:00:06,539
our first Next.js app,

3
00:00:06,539 --> 00:00:08,343
I want to quickly show you

4
00:00:08,343 --> 00:00:11,952
where you can find the source code for this example,

5
00:00:11,952 --> 00:00:15,422
because this can help you if you have any problems

6
00:00:15,422 --> 00:00:18,059
while following along with the videos.

7
00:00:18,907 --> 00:00:21,414
If you look at the resources for this lecture,

8
00:00:21,914 --> 00:00:24,725
you'll find a link to a GitHub repository,

9
00:00:25,225 --> 00:00:27,046
that contains all the code

10
00:00:27,046 --> 00:00:28,866
for the Next Blog example.

11
00:00:29,436 --> 00:00:32,593
Now, what you see here is the final code;

12
00:00:32,593 --> 00:00:34,671
what you should end up with

13
00:00:34,671 --> 00:00:38,290
once you follow all the videos up to Section 6.

14
00:00:38,943 --> 00:00:42,081
But you may want to check what the code should be

15
00:00:42,081 --> 00:00:44,194
at the end of a specific lecture.

16
00:00:44,758 --> 00:00:46,013
You can easily do that

17
00:00:46,013 --> 00:00:47,610
by looking at the "commits".

18
00:00:48,167 --> 00:00:50,265
This page shows all the commits,

19
00:00:50,265 --> 00:00:53,150
but they are in reverse chronological order,

20
00:00:53,715 --> 00:00:56,050
which means that the first commit

21
00:00:56,050 --> 00:00:57,960
will be at the very bottom.

22
00:00:57,960 --> 00:01:00,153
Now, each commit corresponds to

23
00:01:00,153 --> 00:01:01,851
a lecture in the course,

24
00:01:01,851 --> 00:01:03,973
and in fact the commit message

25
00:01:03,973 --> 00:01:06,307
is the same as the lecture title.

26
00:01:06,307 --> 00:01:08,783
For example, the very first commit,

27
00:01:08,783 --> 00:01:10,976
which is the one at the bottom,

28
00:01:11,971 --> 00:01:14,643
says "Next.js Project Setup",

29
00:01:15,143 --> 00:01:17,267
that is exactly the same text

30
00:01:17,267 --> 00:01:19,977
as the title of the previous lecture.

31
00:01:19,977 --> 00:01:22,540
Now, in this case it's easy because

32
00:01:22,540 --> 00:01:24,883
it's also the very first commit,

33
00:01:25,602 --> 00:01:27,846
but for any lecture you can simply

34
00:01:27,846 --> 00:01:30,551
go to this page and search for the title,

35
00:01:31,116 --> 00:01:32,687
like "project setup",

36
00:01:32,687 --> 00:01:35,154
and you'll find the right commit.

37
00:01:35,728 --> 00:01:38,002
You can then simply click on that commit

38
00:01:38,861 --> 00:01:40,234
and this will show you

39
00:01:40,234 --> 00:01:42,543
all the changes made in that lecture.

40
00:01:43,105 --> 00:01:45,786
For example here we can see the code

41
00:01:45,786 --> 00:01:47,499
for the "index.js" page

42
00:01:47,499 --> 00:01:49,808
we wrote in the previous video.

43
00:01:50,456 --> 00:01:53,625
So if you're following along with the example

44
00:01:53,625 --> 00:01:57,287
but for some reason something is not working for you

45
00:01:57,287 --> 00:01:59,399
you can look at this diff page

46
00:01:59,399 --> 00:02:02,215
to quickly check if the changes you made

47
00:02:02,215 --> 00:02:04,680
are exactly the same as shown here.

48
00:02:05,461 --> 00:02:07,676
If you want to see all the files

49
00:02:07,676 --> 00:02:09,822
rather than just what's changed

50
00:02:10,390 --> 00:02:12,882
you can click this "Browse files" button

51
00:02:13,382 --> 00:02:15,860
and this will show you the entire project

52
00:02:15,860 --> 00:02:18,820
as it should be at the end of a specific lecture.

53
00:02:19,380 --> 00:02:21,280
This way you can check the code

54
00:02:21,280 --> 00:02:23,180
for an entire file for example,

55
00:02:23,741 --> 00:02:25,380
rather than just a diff.

56
00:02:25,880 --> 00:02:28,368
If you want to download the entire project

57
00:02:28,368 --> 00:02:30,618
to your machine, you can also do that,

58
00:02:31,177 --> 00:02:34,253
for example by downloading it as a ZIP file.

59
00:02:34,753 --> 00:02:36,689
If you're familiar with Git

60
00:02:36,689 --> 00:02:39,772
you can also use the Git command line tool,

61
00:02:39,772 --> 00:02:41,565
or some other Git client.

62
00:02:41,565 --> 00:02:43,644
So if you run into any errors

63
00:02:43,644 --> 00:02:46,799
while developing the project on your machine

64
00:02:46,799 --> 00:02:49,523
please try the code in this repository

65
00:02:49,523 --> 00:02:51,388
and see if this one works,

66
00:02:51,388 --> 00:02:54,399
and in that case find out what's different

67
00:02:54,399 --> 00:02:55,618
in your own code.

68
00:02:56,691 --> 00:02:58,961
If this doesn't solve your problem,

69
00:02:58,961 --> 00:03:02,075
or if you have some other doubts about a lecture

70
00:03:02,639 --> 00:03:04,435
please check the "Q&A" tab

71
00:03:04,435 --> 00:03:06,230
for that specific lecture.

72
00:03:06,799 --> 00:03:10,239
Here you'll see questions asked by other students,

73
00:03:10,239 --> 00:03:12,784
and you may be able to find something

74
00:03:12,784 --> 00:03:15,054
that already solves your problem,

75
00:03:15,054 --> 00:03:16,636
or answers your doubts.

76
00:03:17,342 --> 00:03:19,719
If you cannot find an existing answer

77
00:03:19,719 --> 00:03:22,224
you can always ask a question yourself,

78
00:03:22,788 --> 00:03:25,062
that would be about the "Course content",

79
00:03:25,888 --> 00:03:28,262
and here you can post your question.

80
00:03:28,762 --> 00:03:30,526
If you do so please provide

81
00:03:30,526 --> 00:03:32,617
as much information as possible.

82
00:03:32,617 --> 00:03:34,381
You can paste code in here,

83
00:03:35,011 --> 00:03:36,537
you can add screenshots

84
00:03:36,537 --> 00:03:39,190
by clicking the picture icon, and so on.

85
00:03:39,756 --> 00:03:41,520
The more details you give me

86
00:03:41,520 --> 00:03:43,408
and the more likely it is that

87
00:03:43,408 --> 00:03:45,046
I may be able to help you.

88
00:03:45,671 --> 00:03:47,940
I do try to answer all questions,

89
00:03:47,940 --> 00:03:50,416
as long as they're about the course,

90
00:03:50,416 --> 00:03:52,341
but please keep in mind that

91
00:03:52,341 --> 00:03:55,091
it can take me up to 24 hours to answer.

92
00:03:55,797 --> 00:03:58,496
That's another reason why it's a good idea

93
00:03:58,496 --> 00:04:01,258
to check the code in this repository first,

94
00:04:01,258 --> 00:04:03,314
because this way you may be able

95
00:04:03,314 --> 00:04:05,370
to find a solution more quickly.

96
00:04:05,370 --> 00:04:07,939
And of course you can also use this code

97
00:04:07,939 --> 00:04:10,573
as a starting point for your own projects

98
00:04:10,573 --> 00:04:11,537
if you want to.

