1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-30 20:57:38 +01:00

Add full-stack questions

This commit is contained in:
Kamran Ahmed 2025-01-30 12:31:39 +00:00
parent 91cfa88b3d
commit 9f2a33f078
5 changed files with 33 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const { class: className } = Astro.props;
<div
class:list={[
'container prose prose-xl prose-h2:mb-3 prose-h2:mt-10 prose-h2:scroll-mt-5 prose-h2:text-balance prose-h2:text-3xl prose-h3:mt-2 prose-h3:scroll-mt-5 prose-h3:text-balance prose-h4:text-balance prose-h5:text-balance prose-h5:font-medium prose-blockquote:font-normal prose-code:bg-transparent prose-img:mt-1 prose-h2:sm:scroll-mt-10 prose-h3:sm:scroll-mt-10',
'container prose prose-xl prose-h2:mb-3 prose-h2:mt-10 prose-h2:scroll-mt-5 prose-h2:text-balance prose-h2:text-3xl prose-h3:mt-2 prose-h4:text-2xl prose-h3:scroll-mt-5 prose-h3:text-balance prose-h4:text-balance prose-h5:text-balance prose-h5:font-medium prose-blockquote:font-normal prose-code:bg-transparent prose-img:mt-1 prose-h2:sm:scroll-mt-10 prose-h3:sm:scroll-mt-10',
className,
]}
>

View File

@ -149,6 +149,11 @@ const { frontmatter: guideFrontmatter, author } = questionGroup;
</div>
))
}
{questionGroup.ending && (
<div class='mb-5'>
<div set:html={markdownToHtml(questionGroup.ending, false)} />
</div>
)}
</MarkdownFile>
</div>
</article>

View File

@ -0,0 +1,14 @@
## Final thoughts
Youve reached the end of our full-stack developer interview questions, but youre not done just yet\!
To make sure youre ready to knock the interview out of the park, heres a quick roadmap for success:
* **Dive deeper**: Explore our detailed guides for specific roles, including [**frontend**](https://roadmap.sh/questions/frontend), [**backend**](https://roadmap.sh/questions/backend), and [**DevOps**](https://roadmap.sh/questions/devops) interviews. Each guide is packed with questions, answers, and tips tailored to those specialities.
* **Check out official docs**: For a detailed explanation of every function, method, or property of HTML, CSS or JavaScript, consider checking out [MDN](https://developer.mozilla.org/en-US/).
* **Practice projects**: Build small projects to solidify your understanding of key concepts. Hands-on experience always makes a big difference.
* **Brush up on fundamentals**: Review core concepts like algorithms, data structures, and design patterns to handle technical full-stack developer interview questions confidently.
* **Mock interviews**: Simulate the interview experience with a friend or use online platforms to build your confidence.
* **Stay curious**: Explore new tools and technologies related to your role to showcase your passion for learning.
Good luck, and remember—confidence comes with preparation\!

View File

@ -19,6 +19,7 @@ seo:
sitemap:
priority: 1
changefreq: 'monthly'
ending: 'full-stack-end.md'
questions:
- question: What is full-stack development?
answer: full-stack-development.md

View File

@ -29,6 +29,7 @@ interface RawQuestionGroupFrontmatter {
answer: string;
topics: string[];
}[];
ending?: string;
}
type RawQuestionGroupFileType =
@ -49,6 +50,7 @@ export type QuestionGroupType = RawQuestionGroupFileType & {
allTopics: string[];
author?: AuthorFileType;
relatedGuides?: Record<string, string>;
ending?: string;
};
/**
@ -133,9 +135,19 @@ export async function getAllQuestionGroups(): Promise<QuestionGroupType[]> {
)
: undefined;
let endingText = '';
if (questionGroupFile.frontmatter.ending) {
const endingFilePath = `/src/data/question-groups/${questionGroupDir}/content/${questionGroupFile.frontmatter.ending}`;
endingText =
(answerFilesMap[endingFilePath] as any)?.default ||
answerFilesMap[endingFilePath] ||
`File missing: ${endingFilePath}`;
}
return {
...questionGroupFile,
id: questionGroupFileId,
ending: endingText,
questions: formattedAnswers,
allTopics: uniqueTopics,
author: allAuthors.find(