We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Workspace

Many programmers spend years writing code without developing a system for organizing it. They end up with project directories scattered across their filesystem.

I know it sounds silly, but it gets painful to manage so many projects. That's why I use the system I'm about to show you.

You can organize your code however you prefer, but this method has served me well. It's similar to how Go used to enforce workspace organization, which mirrored how code projects are hosted online:

~/workspace/USERNAME/PROJECTNAME

For example:

  • ~/workspace/bootdotdev/curriculum
  • ~/workspace/wagslane/go-rabbitmq

This keeps all my projects in a predictable location on my system.

Adopt my system if you'd like, but you don't have to.

Assignment

Regardless of how you organize your code, create a project directory for BookBot. This directory will be the root of your project.