Your first two weeks in a new job are not a race to write production code. They are your chance to onboard yourself to a new codebase in a way that pays off for months. The developers who settle in fastest are rarely the ones who type the most in week one. They are the ones who learn how the system fits together, find the people who know its history, and ship one small change with care.
That sounds slow, and it is meant to. A large codebase holds years of trade-offs, fixes, and workarounds. This guide gives you a first two weeks developer onboarding plan you can follow from day one, even when the docs are thin.
Before day one: get your setup out of the way
Do the boring setup first. Clone the repository, install the required tools, run the tests, and start the app locally. If the README is out of date, note each missing step as you go. That list becomes your first useful contribution, because the next person will hit the same gaps.
Days 1 to 3: map the system before you read the code
Start wide. Find the README, the architecture notes, the API docs, and the deployment guide. If the team has a wiki, read the pages that explain what the product does and who uses it. The goal in these first days is not to memorise functions. It is to answer four questions: what does this system do, who calls it, where does its data live, and what happens when it breaks?
Draw a simple map on paper or in a note. List the main services, the database, the queue, the cache, and the outside APIs. Draw arrows for the main flows: a user signs up, a payment goes through, a report is generated. If you want to understand a large codebase, start with its shape, not its smallest parts. You do not need a perfect diagram. You need a picture you can point at when someone explains a feature, so you can see where it sits.
How to onboard yourself to a new codebase without drowning in details
The main mistake new developers make is trying to read everything. A codebase with hundreds of thousands of lines will beat you if you treat it like a book. Read with a question in mind instead. Pick one feature and follow it from the outside in: the route or endpoint, the handler, the service that does the work, and the database call at the end.
To read unfamiliar code well, use the tools you already have. Search for the names you see in the product, not for abstract terms. Search for an error message, a button label, or a field name from the database. Those strings lead you to the code that matters. When you find a function you do not follow, read its tests first. Tests often show the intended behaviour more clearly than the code itself, and they show the edge cases the author worried about.
A good codebase onboarding plan also sets a limit. Give yourself a fixed block of time to explore, then switch to doing something. Reading without a task turns into drifting. A small task gives your reading a purpose, and it gives you a reason to ask a focused question instead of a vague one.
Days 4 to 7: trace real requests end to end
In the second half of week one, stop reading at random and start tracing. Pick a request you can see in the product, such as creating an account or submitting a form, and follow it through the code. Note each layer it passes through and what each layer adds. When you hit a piece you do not know, write the question down and keep moving. You can come back to it with a teammate later.
Run the app and watch the logs while you click through the feature. Logs show you the order of events, the queries that run, and the calls to outside services. If the project has tracing or metrics, open them and look at one slow request. Learning to read a stack trace and find the real bug will save you hours later, because most onboarding confusion starts with an error you have not seen before.
Week two: ship something small
Week two is for doing. Ask for a small, well-defined task: a bug fix, a copy change, a missing test, or a small piece of a larger feature. Small matters here. The point is to learn the full path from a branch to production, not to prove you can handle the hardest ticket in the backlog.
Follow the team’s normal process from start to finish. Create a branch, write the change, run the tests, open a pull request, respond to review comments, and watch the deploy. Each step teaches you something the docs skip: how long the build takes, which checks run in CI, who reviews what, and how a release is announced. That process knowledge is part of onboarding, even though it never appears in a code file.
Keep your change small enough to review in one sitting. A short pull request gets faster feedback. If you are unsure whether a change is safe, say so in the description and ask the reviewer to check that part. If the codebase uses AI tools, the same care applies: keep your codebase clean when AI writes half of it by reading every generated line before you commit it.
Ask questions that get useful answers
New developers often hold back questions because they do not want to look slow. The opposite is true. A clear question shows you have done the groundwork, and it respects the other person’s time. Before you ask, write down what you tried, what you expected, and what happened instead. That short note turns a vague “this does not work” into a question someone can answer in five minutes.
Ask about history, not just mechanics. “Why does this service call that API directly instead of going through the queue?” teaches you more than “what does this function do?” History questions also surface the constraints behind a design: a deadline, a customer request, or a limit in an outside service. Those constraints explain code that looks strange on its own.
Ask different people about different things. Your buddy can explain the daily workflow. A senior developer can explain the architecture. The person who wrote a module can explain why it grew that way. If your team has a guide for new starters, compare it with how teams usually onboard a junior developer to see what your team does well and what you still need to find out for yourself.
Keep notes your future self will thank you for
Your notes also help you spot patterns. If the same area keeps breaking, or the same question keeps coming up, that is a sign the code or the docs need attention. When you are ready for a larger change, start with the parts you now know well. Refactor legacy code without breaking what works only after you can trace the code you want to change and you have tests that cover it.
What to do when you feel stuck
Feeling lost in week one is normal, and it is not a sign you are behind. Every developer feels it in a new codebase, including the senior developers who now seem fluent in it. The difference is that they have a map, a set of questions, and a habit of tracing one request at a time.
If you feel stuck, shrink the problem. Pick one function, one test, or one log line and follow it until you can explain it. Take a break and come back with fresh eyes. Ask a teammate to walk through the code with you for twenty minutes. A short pairing session often clears up more than another hour of reading alone.
At the end of two weeks, check your progress against simple signs: you can set up the project, you can explain one feature end to end, you have shipped a small change, and you know who to ask about each part of the system. That is a solid first two weeks developer onboarding outcome. The deep knowledge comes later, one traced request and one shipped fix at a time.